HTML5 | MathML <mover> Tag

The HTML5 MathML <mover> tag is an inbuilt tag in HTML5. This tag is used used to attach an accent or a limit over an expression.

Syntax:

<mover> base overscript </mover>

Attributes: This tag accepts below mentioned attributes:

  • class|id |style: This attribute holds the styles of the child elements.
  • href: This attribute holds 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.
  • align: This attribute holds the alignment value of the over-script Possible values are left, right and center
  • accent: This attribute specifies whether the operator should be treated as an accent. Possible values are true or false.

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

filter_none

edit
close

play_arrow

link
brightness_4
code

<!DOCTYPE html>
<html>
   
<head>
    <title>HTML5 MathML mover tag</title>
</head>
   
<body>
    <center>
        <h1 style="color:green">GeeksforGeeks</h1>
          
        <h3>HTML5 MathML <mover> Tag</h3>
          
        <math>
            <mover accent="true">
                <mrow>
                    <mi> x </mi>
                    <mo> + </mo>
                    <mi> y </mi>
                    <mo> + </mo>
                    <mi> z </mi>
                </mrow>
                <mo>⏞</mo>
            </mover>
        </math>
    </center>
</body>
   
</html>

chevron_right


Output:

Supported Browsers: The browsers are supported by HTML5 MathML <mover> 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.