<mn>

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.

We’d love to hear your thoughts on the next set of proposals for the JavaScript language. You can find a description of the proposals here.
Please take two minutes to fill out our short survey.

Das <mn> MathML-Element repräsentiert ein numerisches Literal, das normalerweise eine Folge von Ziffern mit einem möglichen Separator (Punkt oder Komma) ist. Es ist jedoch auch erlaubt, beliebigen Text zu enthalten, der tatsächlich eine numerische Größe ist, beispielsweise "elf".

Attribute

Dieses Element akzeptiert die globalen MathML-Attribute.

Beispiele

html
<math display="block">
  <mn>0</mn>
</math>

<math display="block">
  <mn>1.337</mn>
</math>

<math display="block">
  <mn>twelve</mn>
</math>

<math display="block">
  <mn>XVI</mn>
</math>

<math display="block">
  <mn>2e10</mn>
</math>

Technische Zusammenfassung

Spezifikationen

Specification
MathML Core
# number-mn

Browser-Kompatibilität