MathMLElement

The MathMLElement interface represents any MathML element.

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

Specification
MathML Core
# dom-mathmlelement

Browser compatibility

BCD tables only load in the browser

See also