Open In App

HTML5 | MathML <munderover> Tag

Last Updated : 22 Mar, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

The MathML <munderover> tag in HTML5 is used attach any accent or limit under the expression plus over the expression.
Syntax: 
 

<munderover> base underscript </munderover>

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

  • accent: This attribute specifies whether the operator should be treated as an accent. Possible values are true or false.
  • accentunder: This attribute defines that the tag contains the accent or not. Possible values are true that means the elements is an accent that drawn closer to the base expression and false that means the elements is an limit that drawn closer to the base expression.
  • align: This attribute holds the alignment value of the underscript. Possible values are left, right and center.
  • class|id|style: This attribute is used to hold the styles of the child elements.
  • href: This attribute used to hold any hyperlink to a specified URL.
  • mathbackground: This attribute holds the value of the math expressions background color.
  • mathcolor: This attribute holds the color of the math expressions.

Below example illustrates the concept of HTML5 <munderover> tag:
Example: 
 

html




<!DOCTYPE html>
<html>
 
<head>
    <title>HTML5 MathML munderover tag</title>
    <style>
        .munderover {
            font-size: 40px;
        }
    </style>
</head>
 
<body>
    <center>
        <h1 style="color:green">GeeksforGeeks</h1>
 
        <h3>HTML5 MathML <munderover> Tag</h3>
 
        <math>
            <munderover class="munderover">
                <mo> ∫ </mo>
                <mn> 0 </mn>
                <mi> ∞</mi>
            </munderover>
            <mrow>
                <mi>GeeksforGeeks</mi>
                <mo>=</mo>
                <mi>
                  A Online Computer Science
                  Portal for Geeks
                </mi>
            </mrow>
        </math>
    </center>
</body>
 
</html>


Output: 
 

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

  • Firefox
  • Safari

 



Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads