{{MathMLRef}}
The <mtext>
MathML element is used to render arbitrary text with no notational meaning, such as comments or annotations.
To display text with notational meaning, use {{ MathMLElement("mi") }}
, {{ MathMLElement("mn") }}
, {{ MathMLElement("mo") }}
or {{ MathMLElement("ms") }}
instead.
Attributes
This element accepts the global MathML attributes.
Examples
<math display="block">
<mtext>Theorem of Pythagoras</mtext>
</math>
<math display="block">
<mtext>/* comment here */</mtext>
</math>
{{ EmbedLiveSample('mtext_example', 700, 200, "", "") }}
Technical summary
Implicit ARIA role | None |
---|
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}