MathML elements
This page provides a list of all MathML elements. All of them implement the MathMLElement class, except where otherwise noted.
This page provides a list of all MathML elements. All of them implement the MathMLElement class, except where otherwise noted.
> [!NOTE]
> As explained on the main [MathML](/docs/Web/MathML) page, MDN uses [MathML Core](https://w3c.github.io/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](https://w3c.github.io/mathml/).
## MathML elements A to Z
### A
- a (Hyperlink, implements MathMLAnchorElement)
- annotation (Data annotations)
- annotation-xml (XML annotations)
### E
- menclose (Enclosed contents)
- merror (Enclosed syntax error messages)
### F
- mfenced (Parentheses)
- mfrac (Fraction)
### I
- mi (Identifier)
### M
- maction (Bound actions to sub-expressions)
- math (Top-level element)
- mmultiscripts (Prescripts and tensor indices)
### N
- mn (Number)
### O
- mo (Operator)
- mover (Overscript)
### P
- mpadded (Space around content)
- mphantom (Invisible content with reserved space)
- mprescripts (delimiter for prescripts)
### R
- mroot (Radical with specified index)
- mrow (Grouped sub-expressions)
### S
- ms (String literal)
- semantics (Container for semantic annotations)
- mspace (Space)
- msqrt (Square root without an index)
- mstyle (Style change)
- msub (Subscript)
- msup (Superscript)
- msubsup (Subscript-superscript pair)
### T
- mtable (Table or matrix)
- mtd (Cell in a table or a matrix)
- mtext (Text)
- mtr (Row in a table or a matrix)
### U
- munder (Underscript)
- munderover (Underscript-overscript pair)
## MathML elements by category
### Top-level elements
- math (Top-level element)
### Token elements
- mi (Identifier)
- mn (Number)
- mo (Operator)
- ms (String literal)
- mspace (Space)
- mtext (Text)
### General layout
- a (Hyperlink, implements MathMLAnchorElement)
- menclose (Enclosed contents)
- merror (Enclosed syntax error messages)
- mfenced (Parentheses)
- mfrac (Fraction)
- mpadded (Space around content)
- mphantom (Invisible content with reserved space)
- mroot (Radical with specified index)
- mrow (Grouped sub-expressions)
- msqrt (Square root without an index)
- mstyle (Style change)
### Script and limit elements
- mmultiscripts (Prescripts and tensor indices)
- mover (Overscript)
- mprescripts (Delimiter for prescripts)
- msub (Subscript)
- msubsup (Subscript-superscript pair)
- msup (Superscript)
- munder (Underscript)
- munderover (Underscript-overscript pair)
### Tabular math
- mtable (Table or matrix)
- mtd (Cell in a table or a matrix)
- mtr (Row in a table or a matrix)
### Uncategorized elements
- maction (Bound actions to sub-expressions)
## Semantic annotations
- annotation (Data annotations)
- annotation-xml (XML annotations)
- semantics (Container for semantic annotations)
## See also
- [MathML](/docs/Web/MathML)
- [MathML attribute reference](/docs/Web/MathML/Reference/Attribute)
Cite this
"MathML elements". MDN Web Docs. CC BY-SA 2.5 (MDN). https://developer.mozilla.org/en-US/docs/Web/MathML/Reference/Element