<mroot>

O elemento de MathML <mroot> apresenta raízes com um índice explicito. Dois argumentos são aceites, com a sintaxe seguinte: <mroot> base index </mroot>.

Atributos

class, id, style
Para uso com stylesheets.
href
Usado para criar uma hiperligação para um URI.
mathbackground
A cor de fundo. Pode usar #rgb, #rrggbb e nomes de cores de HTML.
mathcolor
A cor do texto e a cor do simbolo da raiz também. Pode usar #rgb, #rrggbb e nomes de cores de HTML.

Exemplos

Exemplo: x

Exemplo renderizado no seu navegador: x 3

<math>

 <mroot>
    <mi>x</mi>
    <mn>3</mn>
 </mroot> 
 
</math>

Especificações

Especificação Estado Comentário
MathML 3.0
The definition of 'mroot' in that specification.
Recommendation Especificação atual
MathML 2.0
The definition of 'mroot' in that specification.
Recommendation Especificação inicial

Compatibilidade

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
mrootChrome No support NoEdge No support NoFirefox Full support 1IE No support NoOpera No support NoSafari Full support 6WebView Android No support NoChrome Android No support NoFirefox Android Full support 4Opera Android No support NoSafari iOS No support NoSamsung Internet Android No support No
hrefChrome No support NoEdge No support NoFirefox Full support 7IE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android No support NoFirefox Android Full support 7Opera Android No support NoSafari iOS No support NoSamsung Internet Android No support No
mathbackgroundChrome No support NoEdge No support NoFirefox Full support 4IE No support NoOpera No support NoSafari Full support 6WebView Android No support NoChrome Android No support NoFirefox Android Full support 4Opera Android No support NoSafari iOS No support NoSamsung Internet Android No support No
mathcolorChrome No support NoEdge No support NoFirefox Full support 4IE No support NoOpera No support NoSafari Full support 6WebView Android No support NoChrome Android No support NoFirefox Android Full support 4Opera Android No support NoSafari iOS No support NoSamsung Internet Android No support No

Legend

Full support  
Full support
No support  
No support

Ver também

  • <msqrt> (Raiz quadrada sem índice)