<mtext>

<mtext> MathML 元素用于呈现没有符号意义的任意文本,例如注释或注解。

若要显示具有符号意义的文本,请改用 <mi><mn><mo><ms>

属性

该元素接受全局 MathML 属性

示例

html
<math display="block">
  <mtext>勾股定理</mtext>
</math>

<math display="block">
  <mtext>/* 在此注释 */</mtext>
</math>

规范

Specification
MathML Core
# text-mtext

浏览器兼容性

BCD tables only load in the browser