dom / latest / mathmlelement.html /

MathMLElement

The MathMLElement interface represents any MathML element.

EventTarget Node Element MathMLElement

Properties

Also inherits properties from: DocumentAndElementEventHandlers, Element, GlobalEventHandlers

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.

Methods

This interface has no methods, but inherits methods from: DocumentAndElementEventHandlers, Element, GlobalEventHandlers

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
No
See bug 6606.
No
See bug 6606.
71
No
No
13.1
No
See bug 6606.
No
See bug 6606.
79
No
13.4
No
See bug 6606.
blur
No
No
71
No
No
13.1
No
No
79
No
13.4
No
dataset
No
No
71
No
No
13.1
No
No
79
No
13.4
No
focus
No
No
71
No
No
13.1
No
No
79
No
13.4
No
tabIndex
No
No
71
No
No
13.1
No
No
79
No
13.4
No
style
No
No
71
No
No
13.1
No
No
79
No
13.4
No

See also

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