Skip to content
Related Articles

Related Articles

Improve Article

HTML5 | MathML <mover> Tag

  • Last Updated : 19 Aug, 2021

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:
 

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

 

Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML  course.




My Personal Notes arrow_drop_up
Recommended Articles
Page :