Skip to content
Related Articles

Related Articles

HTML5 | MathML <mover> Tag

View Discussion
Improve Article
Save Article
  • Last Updated : 28 Jun, 2022
View Discussion
Improve Article
Save Article

The HTML5 MathML <mover> tag is an inbuilt tag in HTML5. This tag is 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:
 

html




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

Output: 
 

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

  • Firefox
  • Safari

 


My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!