Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
mohamedkhallouq
GitHub Repository: mohamedkhallouq/content
Path: blob/main/files/en-us/web/mathml/element/mroot/index.md
6529 views
---
title: <mroot> slug: Web/MathML/Element/mroot browser-compat: mathml.elements.mroot
---

{{MathMLRef}}

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

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

{{ EmbedLiveSample('mroot_example', 700, 200, "", "") }}

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • {{ MathMLElement("msqrt") }} (Square root without an index)