Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 982481 of <mroot>

  • Adressname der Version: Web/MathML/Element/mroot
  • Titel der Version: <mroot>
  • ID der Version: 982481
  • Erstellt:
  • Autor: jumpball
  • Aktuelle Version? Nein
  • Kommentar

Inhalt der Version

{{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: x

Rendering in your browser: x 3

<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)

Quelltext der Version

<div>{{MathMLRef}}</div>

<p class="summary">Das MathML-<code>&lt;mroot&gt;</code>-Element wird benutzt, um Wurzeln mit einem angegebenen Index anzuzeigen. Zwei Argumente werden akzeptiert, was zu der Syntaxis führt: <code>&lt;mroot&gt; <em>Basis Index</em> &lt;/mroot&gt;</code>.</p>

<h2 id="Attributes">Attribute</h2>

<dl>
 <dt id="attr-class-id-style">class, id, style</dt>
 <dd>Für die Benutzung mit <a href="/de/docs/CSS">Stylesheets</a> angeboten.</dd>
 <dt id="attr-href">href</dt>
 <dd>Used to set a hyperlink to a specified URI.</dd>
 <dt id="attr-mathbackground">mathbackground</dt>
 <dd>The background color. You can use <code>#rgb</code>, <code>#rrggbb</code> and <a href="/en-US/docs/CSS/color_value#Color_Keywords">HTML color names</a>.</dd>
 <dt id="attr-mathcolor">mathcolor</dt>
 <dd>The text color and also the color of the root symbol itself. You can use <code>#rgb</code>, <code>#rrggbb</code> and <a href="/en-US/docs/CSS/color_value#Color_Keywords">HTML color names</a>.</dd>
</dl>

<h2 id="Examples">Examples</h2>

<p>Sample Rendering: <img alt="x" src="/files/3200/mroot.png" style="margin-left:10px; vertical-align:middle" /></p>

<p>Rendering in your browser: <math> <mroot> <mi>x</mi> <mn>3</mn> </mroot> </math></p>

<pre class="brush: html">
&lt;math&gt;

 &lt;mroot&gt;
    &lt;mi&gt;x&lt;/mi&gt;
    &lt;mn&gt;3&lt;/mn&gt;
&nbsp;&lt;/mroot&gt; 
 
&lt;/math&gt;
</pre>

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
 <thead>
  <tr>
   <th scope="col">Specification</th>
   <th scope="col">Status</th>
   <th scope="col">Comment</th>
  </tr>
 </thead>
 <tbody>
  <tr>
   <td>{{ SpecName('MathML3', 'chapter3.html#presm.mroot', 'mroot') }}</td>
   <td>{{ Spec2('MathML3') }}</td>
   <td>Current specification</td>
  </tr>
  <tr>
   <td>{{ SpecName('MathML2', 'chapter3.html#presm.mroot', 'mroot') }}</td>
   <td>{{ Spec2('MathML2') }}</td>
   <td>Initial specification</td>
  </tr>
 </tbody>
</table>

<h2 id="Browser_compatibility">Browser compatibility</h2>

<p>{{CompatibilityTable}}</p>

<div id="compat-desktop">
<table class="compat-table">
 <tbody>
  <tr>
   <th>Feature</th>
   <th>Chrome</th>
   <th>Firefox (Gecko)</th>
   <th>Internet Explorer</th>
   <th>Opera</th>
   <th>Safari</th>
  </tr>
  <tr>
   <td>Basic support</td>
   <td>{{CompatNo}}</td>
   <td>{{ CompatGeckoDesktop("1.0") }}</td>
   <td>{{CompatNo}}</td>
   <td>{{CompatNo}}</td>
   <td>5.1</td>
  </tr>
  <tr>
   <td><code>href</code></td>
   <td>{{CompatNo}}</td>
   <td>{{ CompatGeckoDesktop("7.0") }}</td>
   <td>{{CompatNo}}</td>
   <td>{{CompatNo}}</td>
   <td>{{CompatNo}}</td>
  </tr>
  <tr>
   <td><code>mathbackground</code></td>
   <td>{{CompatNo}}</td>
   <td>{{ CompatGeckoDesktop("2.0") }}</td>
   <td>{{CompatNo}}</td>
   <td>{{CompatNo}}</td>
   <td>5.1</td>
  </tr>
  <tr>
   <td><code>mathcolor</code></td>
   <td>{{CompatNo}}</td>
   <td>{{ CompatGeckoDesktop("2.0") }}</td>
   <td>{{CompatNo}}</td>
   <td>{{CompatNo}}</td>
   <td>5.1</td>
  </tr>
 </tbody>
</table>
</div>

<div id="compat-mobile">
<table class="compat-table">
 <tbody>
  <tr>
   <th>Feature</th>
   <th>Android</th>
   <th>Chrome for Android</th>
   <th>Firefox Mobile (Gecko)</th>
   <th>IE Mobile</th>
   <th>Opera Mobile</th>
   <th>Safari Mobile</th>
  </tr>
  <tr>
   <td>Basic support</td>
   <td>{{CompatNo}}</td>
   <td>{{CompatNo}}</td>
   <td>{{ CompatGeckoMobile("1.0") }}</td>
   <td>{{CompatNo}}</td>
   <td>{{CompatNo}}</td>
   <td>{{CompatNo}}</td>
  </tr>
  <tr>
   <td><code>href</code></td>
   <td>{{CompatNo}}</td>
   <td>{{CompatNo}}</td>
   <td>{{ CompatGeckoMobile("7.0") }}</td>
   <td>{{CompatNo}}</td>
   <td>{{CompatNo}}</td>
   <td>{{CompatNo}}</td>
  </tr>
  <tr>
   <td><code>mathbackground</code></td>
   <td>{{CompatNo}}</td>
   <td>{{CompatNo}}</td>
   <td>{{ CompatGeckoMobile("2.0") }}</td>
   <td>{{CompatNo}}</td>
   <td>{{CompatNo}}</td>
   <td>{{CompatNo}}</td>
  </tr>
  <tr>
   <td><code>mathcolor</code></td>
   <td>{{CompatNo}}</td>
   <td>{{CompatNo}}</td>
   <td>{{ CompatGeckoMobile("2.0") }}</td>
   <td>{{CompatNo}}</td>
   <td>{{CompatNo}}</td>
   <td>{{CompatNo}}</td>
  </tr>
 </tbody>
</table>
</div>

<h2 id="See_also">See also</h2>

<ul>
 <li>{{ MathMLElement("msqrt") }} (Square root without an index)</li>
</ul>
Zu dieser Version zurücksetzen