The <mi> MathML element indicates that the content should be rendered as an identifier such as function names, variables or symbolic constants. You can also have arbitrary text in it to mark up terms.


This element accepts the global MathML attributes. For <mi> elements that contain a single character, the default value of the mathvariant attribute is italic.


<math display="block">
  <!-- Multiple characters, default mathvariant is "normal". -->

<math display="block">
  <!-- Single character, default mathvariant is "italic". -->

<math display="block">
  <!-- Overriding default mathvariant. -->
  <mi mathvariant="normal">F</mi>


MathML Core
# dfn-mi

Browser compatibility

BCD tables only load in the browser