Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. MathML
  3. Reference
  4. Elements
  5. <mn>

<mn>

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨January 2023⁩.

The<mn>MathML element represents anumeric 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 theglobal MathML attributes.

Examples

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>

Technical summary

Implicit ARIA role None

Specifications

Specification
MathML Core
# number-mn

Browser compatibility

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp