MathML <mn> Tag
The HTML5 MathML <mn>
tag is used to display numeric characters, typically a sequence of digits with optional separators. It represents arbitrary numeric values, such as "4" for the digit 4 or "Four" for the spelled-out word.
Attributes: The <mn>
tag accepts the following attributes:
- class|id|style: This attribute is used to define the styles for the child elements.
- dir: This attribute specifies the text direction. Accepted values are "ltr" for left-to-right and "rtl" for right-to-left.
- href: This attribute holds a hyperlink to a specified URL.
- mathbackground: This attribute determines the background color of the math expressions.
- mathcolor: This attribute specifies the color of the math expressions.
- mathsize: This attribute determines the size of the content. Possible values are "small," "medium," and "big."
- mathvariant: This attribute allows for various typographic variations, such as font-family selection.