MathMLElement

The MathMLElement interface represents any MathML element.

MathMLElement has no own properties or methods but includes members from
  • GlobalEventHandlers
  • DocumentAndElementEventHandlers
  • HTMLOrForeignElement
  • ElementCSSInlineStyle

Examples

MathML

<math>
 <msqrt>
    <mi>x</mi>
  </msqrt>
</math>

JavaScript

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

Specifications

Specification Status Comment
MathMLElement interface

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
MathMLElement
Experimental
Chrome No support NoEdge No support NoFirefox Full support 71IE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android No support NoFirefox Android No support NoOpera Android No support NoSafari iOS No support NoSamsung Internet Android No support No

Legend

Full support  
Full support
No support  
No support
Experimental. Expect behavior to change in the future.
Experimental. Expect behavior to change in the future.

See also