Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. MathMLElement

MathMLElement

Baseline Widely available *

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨January 2023⁩.

* Some parts of this feature may have varying levels of support.

TheMathMLElement interface represents anyMathML element.

EventTarget Node Element MathMLElement

Instance properties

Also inherits properties from its parent,Element.

MathMLElement.attributeStyleMapRead only

AStylePropertyMap representing the declarations of the element'sstyle attribute.

MathMLElement.autofocus

Whether the control should be focused when the page loads, or when a<dialog> orpopover become shown.

MathMLElement.datasetRead only

ADOMStringMap object which provides a list of key/value pairs of named data attributes which correspond tocustom data attributes attached to the element. These correspond to MathML'sdata-* global attributes.

MathMLElement.style

ACSSStyleDeclaration representing the declarations of the element'sstyle attribute.

MathMLElement.tabIndex

The position of the element in the tabbing order.

Instance methods

This interface also inherits methods from its parent,Element.

MathMLElement.blur()

Removes keyboard focus from the currently focused element.

MathMLElement.focus()

Makes the element the current keyboard focus.

Examples

MathML

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

JavaScript

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

Specifications

Specification
MathML Core
# dom-mathmlelement

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp