Baseline 2023
Newly available

Since January 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

The MathML element represents a numeric literal which is normally a sequence of digits with a possible separator (a dot or a comma). However, it is also allowed to have arbitrary text in it which is actually a numeric quantity, for example "eleven".

Attributes

This element accepts the global MathML attributes.

Examples

html

  0



  1.337



  twelve



  XVI



  2e10

Technical summary

Specifications

Specification
MathML Core
# number-mn

Browser compatibility