<mroot>

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since January 2023.

The <mroot> MathML element is used to display roots with an explicit index. Two arguments are accepted, which leads to the syntax: <mroot> base index </mroot>.

Attributes

This element accepts the global MathML attributes.

Examples

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

Technical summary

Specifications

Specification
MathML Core
# radicals-msqrt-mroot

Browser compatibility

See also

  • <msqrt> (Square root without an index)