1. Web
  2. MathML
  3. Reference
  4. Elements
  5. <msqrt>

<msqrt>

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 <msqrt> MathML 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

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

Technical summary

Implicit ARIA role None

Specifications

Specification
MathML Core
# radicals-msqrt-mroot

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.

AltStyle によって変換されたページ (->オリジナル) /