Skip to content
Related Articles

Related Articles

Improve Article

HTML5 | MathML <mroot> Tag

  • Last Updated : 07 Nov, 2019

The MathML <mroot> tag in HTML5 is use to display the power of the root like root squire.


<mroot> child elements </mroot>

Attributes: This tag accepts some attributea which are listed below:

  • class|id|style: This attribute holds the styles of the child elements.
  • mathbackground: This attribute holds the value of the math expressions background color.
  • href: This attribute holds any hyperlink to a specified URL.
  • mathcolor: This attribute holds the color of the math expressions.

Below example will illustrates the concept of HTML5 MathML <mroot> tag:


<!DOCTYPE html>
    <title>HTML5 MathML mroot tag</title>
<body style="text-align:center;">
    <h1 style="color:green">GeeksforGeeks</h1>
    <h3>HTML5 MathML <mroot> tag</h3>


Supported Browsers: The browsers supported by HTML5 MathML <mroot> tag are listed below:

  • Firefox

Attention reader! Don’t stop learning now. Get hold of all the important Comcompetitivepetitve Programming concepts with the Web Design for Beginners | HTML  course.

My Personal Notes arrow_drop_up
Recommended Articles
Page :