{{MathMLRef}}
Das MathML-<mroot>
-Element wird benutzt, um Wurzeln mit einem angegebenen Index anzuzeigen. Zwei Argumente werden akzeptiert, was zu der Syntaxis führt: <mroot> Basis Index </mroot>
.
Attribute
- class, id, style
- Für die Benutzung mit Stylesheets angeboten.
- href
- Used to set a hyperlink to a specified URI.
- mathbackground
- The background color. You can use
#rgb
,#rrggbb
and HTML color names. - mathcolor
- The text color and also the color of the root symbol itself. You can use
#rgb
,#rrggbb
and HTML color names.
Examples
Sample Rendering:
Rendering in your browser:
<math> <mroot> <mi>x</mi> <mn>3</mn> </mroot> </math>
Specifications
Specification | Status | Comment |
---|---|---|
{{ SpecName('MathML3', 'chapter3.html#presm.mroot', 'mroot') }} | {{ Spec2('MathML3') }} | Current specification |
{{ SpecName('MathML2', 'chapter3.html#presm.mroot', 'mroot') }} | {{ Spec2('MathML2') }} | Initial specification |
Browser compatibility
{{CompatibilityTable}}
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | {{CompatNo}} | {{ CompatGeckoDesktop("1.0") }} | {{CompatNo}} | {{CompatNo}} | 5.1 |
href |
{{CompatNo}} | {{ CompatGeckoDesktop("7.0") }} | {{CompatNo}} | {{CompatNo}} | {{CompatNo}} |
mathbackground |
{{CompatNo}} | {{ CompatGeckoDesktop("2.0") }} | {{CompatNo}} | {{CompatNo}} | 5.1 |
mathcolor |
{{CompatNo}} | {{ CompatGeckoDesktop("2.0") }} | {{CompatNo}} | {{CompatNo}} | 5.1 |
Feature | Android | Chrome for Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|
Basic support | {{CompatNo}} | {{CompatNo}} | {{ CompatGeckoMobile("1.0") }} | {{CompatNo}} | {{CompatNo}} | {{CompatNo}} |
href |
{{CompatNo}} | {{CompatNo}} | {{ CompatGeckoMobile("7.0") }} | {{CompatNo}} | {{CompatNo}} | {{CompatNo}} |
mathbackground |
{{CompatNo}} | {{CompatNo}} | {{ CompatGeckoMobile("2.0") }} | {{CompatNo}} | {{CompatNo}} | {{CompatNo}} |
mathcolor |
{{CompatNo}} | {{CompatNo}} | {{ CompatGeckoMobile("2.0") }} | {{CompatNo}} | {{CompatNo}} | {{CompatNo}} |
See also
- {{ MathMLElement("msqrt") }} (Square root without an index)