HTML5 | MathML <munder> Tag

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:

filter_none

edit
close

play_arrow

link
brightness_4
code

<!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>

chevron_right


Output:

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

  • Firefox

full-stack-img




My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.