<msqrt>

The MathML <msqrt> element is used to display square roots (no index is displayed). The square root accepts only one argument, which leads to the following syntax: <msqrt> base </msqrt>.

Attributes

This element accepts the global MathML attributes.

Examples

Sample rendering: root-x

Rendering in your browser: x

<math>
  <msqrt>
    <mi>x</mi>
  </msqrt>
</math>

Specifications

Specification
MathML Core
# radicals-msqrt-mroot

Browser compatibility

BCD tables only load in the browser

See also