web api interface
MathMLElement
The MathMLElement interface represents any MathML element.
Instance properties
Also inherits properties from its parent, Element.
attributeStyleMapRead only- : A
StylePropertyMaprepresenting the declarations of the element’sstyleattribute.
- : A
autofocusdatasetRead only- : A
DOMStringMapobject which provides a list of key/value pairs of named data attributes which correspond to custom data attributes attached to the element. These correspond to MathML’sdata-*global attributes.
- : A
nonce- : Returns the cryptographic number used once that is used by Content Security Policy to determine whether a given fetch will be allowed to proceed.
style- : A
CSSStyleDeclarationrepresenting the declarations of the element’sstyleattribute.
- : A
tabIndex- : The position of the element in the tabbing order.
Instance methods
This interface also inherits methods from its parent, Element.
blur()- : Removes keyboard focus from the currently focused element.
focus()- : Makes the element the current keyboard focus.
Examples
MathML
<math>
<msqrt>
<mi>x</mi>
</msqrt>
</math>
JavaScript
document.querySelector("msqrt").constructor.name; // MathMLElement
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.