<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.

<mn>MathML の要素で、通常は区切り記号(ピリオドかカンマ)をもつ可能性がある数字列である、数値リテラルを表します。ただし、 "eleven" のように、実際には数値である任意のテキストを保持することも可能です。

属性

この要素はグローバル MathML 属性を受け入れます。

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>

仕様書

Specification
MathML Core
# number-mn

ブラウザーの互換性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
mn

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support