--- title: slug: Web/MathML/Element/msqrt tags: - MathML - 'MathML:Element' - Referenz translation_of: Web/MathML/Element/msqrt ---
{{MathMLRef}}

Das Element <msqrt> wird in MathML eingesetzt, um eine (Quadrat-)Wurzel darzustellen, wobei der Exponent 2 nicht ausgeschrieben wird. Die Wurzel benötigt nur ein Argument, was zu folgender Schreibweise führt: <msqrt> Basis </msqrt>.

Attribute

class, id, style
Zur Einbindung von CSS-Stylesheets und zur direkten Anwendung von CSS-Angaben.
href
Mit diesem Attribut kann ein Link gesetzt werden.
mathbackground
Die Hintergrundfarbe. Folgende Notationen sind erlaubt: #rgb, #rrggbb und HTML-Farbnamen.
mathcolor
Die Farbe für Basis und Wurzelzeichen. Folgende Notationen sind erlaubt: #rgb, #rrggbb und HTML-Farbnamen.

Beispiele

Beispiel: root-x

Darstellung in Deinem Browser: x

<math>

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

</math>

Spezifikationen

Standard Status Bemerkung
{{ SpecName('MathML3', 'chapter3.html#presm.msqrt', 'msqrt') }} {{ Spec2('MathML3') }} Current specification
{{ SpecName('MathML2', 'chapter3.html#presm.msqrt', 'msqrt') }} {{ Spec2('MathML2') }} Initial specification

Browserkompatibilität

{{CompatibilityTable}}

Merkmal 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
Merkmal 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}}

Siehe auch