W3cubDocs

/Web APIs

MathMLElement

The MathMLElement interface represents any MathML element.

EventTarget Node Element MathMLElement

Instance properties

Also inherits properties from its parent, Element.

MathMLElement.attributeStyleMap Read only

A StylePropertyMap representing the declarations of the element's style attribute.

MathMLElement.style

A CSSStyleDeclaration representing the declarations of the element's style attribute.

Instance methods

This interface has no methods, but inherits methods from its parent, Element.

Examples

MathML

<math xmlns="http://www.w3.org/1998/Math/MathML">
  <msqrt>
    <mi>x</mi>
  </msqrt>
</math>

JavaScript

document.querySelector("msqrt").constructor.name; // MathMLElement

Specifications

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
MathMLElement 10980 10980 71 No 9567 13.1 109 10980 79 74 13.4 No
attributeStyleMap 109 No No No 95 16.4 109 109 No 74 16.4 No
autofocus 109 109 No No 95 15.4 109 109 No 74 15.4 No
blur 10980 10980 71 No 9567 13.1 109 10980 79 74 13.4 No
dataset 10980 10980 71 No 9567 13.1 109 10980 79 74 13.4 No
focus 10980 10980 71 No 9567 13.1 109 10980 79 74 13.4 No
nonce 109 109 No No 95 15.4 109 109 No 74 15.4 No
style 10980 10980 71 No 9567 13.1 109 10980 79 74 13.4 No
tabIndex 10980 10980 71 No 9567 13.1 109 10980 79 74 13.4 No

See also

© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement