HTMLOrForeignElement
Properties
Draft
This page is not complete.
The HTMLOrForeignElement
mixin describes several features common to the HTMLElement
, SVGElement
and MathMLElement
interfaces. Each of these interfaces can, of course, add more features in addition to the ones listed below.
Note: HTMLOrForeignElement
is a mixin and not an interface; you can't actually create an object of type HTMLOrForeignElement
.
dataset
undefined- The
dataset
read-only property of theHTMLOrForeignElement
mixin provides read/write access to custom data attributes (data-*
) on elements. nonce
- The
nonce
property of theHTMLOrForeignElement
mixin returns the cryptographic number used once that is used by Content Security Policy to determine whether a given fetch will be allowed to proceed. tabIndex
- The
tabIndex
property of theHTMLOrForeignElement
mixin represents the tab order of the current element.
Methods
Specifications
Specification | Status | Comment |
---|---|---|
HTML Living Standard The definition of ' HTMLOrForeignElement ' in that specification. |
Living Standard | Initial definition. |