Skip to main content

MathML element reference

This is an alphabetical list of MathML elements. All of them implement the {{domxref("MathMLElement")}} class.

[!NOTE] As explained on the main MathML page, MDN uses MathML Core as a reference specification. However, legacy features that are still implemented by some browsers are also documented. You can find further details for these and other features in MathML 4.

MathML elements A to Z​

math​

  • {{MathMLElement("math")}} (Top-level element)

A​

  • {{MathMLElement("maction")}} {{deprecated_inline}} (Bound actions to sub-expressions)
  • {{MathMLElement("annotation")}} (Data annotations)
  • {{MathMLElement("annotation-xml")}} (XML annotations)

E​

  • {{MathMLElement("menclose")}} {{non-standard_inline}} (Enclosed contents)
  • {{MathMLElement("merror")}} (Enclosed syntax error messages)

F​

  • {{MathMLElement("mfenced")}} {{non-standard_inline}}{{deprecated_inline}} (Parentheses)
  • {{MathMLElement("mfrac")}} (Fraction)

I​

  • {{MathMLElement("mi")}} (Identifier)

M​

  • {{MathMLElement("mmultiscripts")}} (Prescripts and tensor indices)

N​

  • {{MathMLElement("mn")}} (Number)

O​

  • {{MathMLElement("mo")}} (Operator)
  • {{MathMLElement("mover")}} (Overscript)

P​

  • {{MathMLElement("mpadded")}} (Space around content)
  • {{MathMLElement("mphantom")}} (Invisible content with reserved space)
  • {{MathMLElement("mprescripts")}} (delimiter for prescripts)

R​

  • {{MathMLElement("mroot")}} (Radical with specified index)
  • {{MathMLElement("mrow")}} (Grouped sub-expressions)

S​

  • {{MathMLElement("ms")}} (String literal)
  • {{MathMLElement("semantics")}} (Container for semantic annotations)
  • {{MathMLElement("mspace")}} (Space)
  • {{MathMLElement("msqrt")}} (Square root without an index)
  • {{MathMLElement("mstyle")}} (Style change)
  • {{MathMLElement("msub")}} (Subscript)
  • {{MathMLElement("msup")}} (Superscript)
  • {{MathMLElement("msubsup")}} (Subscript-superscript pair)

T​

  • {{MathMLElement("mtable")}} (Table or matrix)
  • {{MathMLElement("mtd")}} (Cell in a table or a matrix)
  • {{MathMLElement("mtext")}} (Text)
  • {{MathMLElement("mtr")}} (Row in a table or a matrix)

U​

  • {{MathMLElement("munder")}} (Underscript)
  • {{MathMLElement("munderover")}} (Underscript-overscript pair)

MathML elements by category​

Top-level elements​

  • {{MathMLElement("math")}} (Top-level element)

Token elements​

  • {{MathMLElement("mi")}} (Identifier)
  • {{MathMLElement("mn")}} (Number)
  • {{MathMLElement("mo")}} (Operator)
  • {{MathMLElement("ms")}} (String literal)
  • {{MathMLElement("mspace")}} (Space)
  • {{MathMLElement("mtext")}} (Text)

General layout​

  • {{MathMLElement("menclose")}} {{non-standard_inline}} (Enclosed contents)
  • {{MathMLElement("merror")}} (Enclosed syntax error messages)
  • {{MathMLElement("mfenced")}} {{non-standard_inline}} {{deprecated_inline}} (Parentheses)
  • {{MathMLElement("mfrac")}} (Fraction)
  • {{MathMLElement("mpadded")}} (Space around content)
  • {{MathMLElement("mphantom")}} (Invisible content with reserved space)
  • {{MathMLElement("mroot")}} (Radical with specified index)
  • {{MathMLElement("mrow")}} (Grouped sub-expressions)
  • {{MathMLElement("msqrt")}} (Square root without an index)
  • {{MathMLElement("mstyle")}} (Style change)

Script and limit elements​

  • {{MathMLElement("mmultiscripts")}} (Prescripts and tensor indices)
  • {{MathMLElement("mover")}} (Overscript)
  • {{MathMLElement("mprescripts")}} (Delimiter for prescripts)
  • {{MathMLElement("msub")}} (Subscript)
  • {{MathMLElement("msubsup")}} (Subscript-superscript pair)
  • {{MathMLElement("msup")}} (Superscript)
  • {{MathMLElement("munder")}} (Underscript)
  • {{MathMLElement("munderover")}} (Underscript-overscript pair)

Tabular math​

  • {{MathMLElement("mtable")}} (Table or matrix)
  • {{MathMLElement("mtd")}} (Cell in a table or a matrix)
  • {{MathMLElement("mtr")}} (Row in a table or a matrix)

Uncategorized elements​

  • {{MathMLElement("maction")}} {{deprecated_inline}} (Bound actions to sub-expressions)

Semantic annotations​

  • {{MathMLElement("annotation")}} (Data annotations)
  • {{MathMLElement("annotation-xml")}} (XML annotations)
  • {{MathMLElement("semantics")}} (Container for semantic annotations)

See also​