此页面由社区从英文翻译而来。了解更多并加入 MDN Web Docs 社区。

View in English Always switch to English

<mroot>

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨2023年1月⁩.

MathML <mroot> 元素用来表示一个有明确根指数的根式。它接受两个参数,语法如下:<mroot> base index </mroot>

属性

该元素接受全局 MathML 属性

示例

html
<math display="block"> <mroot> <mi>x</mi> <mn>3</mn> </mroot> </math> 

规范

Specification
MathML Core
# radicals-msqrt-mroot

浏览器兼容性

参见

  • <msqrt>(不带根指数的平方根)