Skip to content
Related Articles

Related Articles

HTML5 | MathML <mroot> Tag

View Discussion
Improve Article
Save Article
  • Last Updated : 24 Aug, 2021
View Discussion
Improve Article
Save Article

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
  • Safari


My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!