MathML <mi> Tag
The HTML5 MathML <mi>
tag is used as an identifier for symbols or functions in mathematical expressions. It allows you to encapsulate any statement within this tag.
Attributes: The <mi>
tag accepts the following attributes:
- class|id|style: This attribute is used to define the styles for the child elements.
- 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.
- dir: This attribute specifies the direction value. Accepted values are "ltr" for left to right and "rtl" for right to left.
- mathsize: This attribute determines the size of the content. Possible values are "small," "medium," and "big."
- mathvariant: This attribute specifies the typography variation, such as font-family.