Skip to content
Related Articles

Related Articles

HTML5 | MathML <munder> Tag

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

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

<munder> base underscript</munder>

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

  • accentunder: This attribute defines 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 is 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 <munder> tag:
Example: 
 

html




<!DOCTYPE html>
<html>
 
<head>
    <title>HTML5 MathML munder tag</title>
</head>
 
<body>
    <center>
        <h1 style="color:green">GeeksforGeeks</h1>
 
        <h3>HTML5 MathML <munder> Tag</h3>
 
        <math>
            <munder accentunder="true">
                <mrow>
                    <mi>GeeksforGeeks</mi>
                </mrow>
                <mo> ⏟ </mo>
            </munder>
 
            <mrow>
 
                <mo> = </mo>
                <mi>A Online Computer Science Portal</mi>
            </mrow>
 
        </math>
    </center>
</body>
 
</html>

Output: 
 

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

  • Firefox
  • Safari

 


My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!