<msqrt>

Baseline 2023

Newly available

Since January 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

MathML <msqrt> 元素用于表示平方根(不显示根指数)。它只接受一个参数,语法如下:<msqrt> base </msqrt>

属性

该元素接受全局 MathML 属性

示例

html
<math display="block">
  <msqrt>
    <mi>x</mi>
  </msqrt>
</math>

规范

Specification
MathML Core
# radicals-msqrt-mroot

浏览器兼容性

BCD tables only load in the browser

参见

  • <mroot>(带有根指数的方根)