Open In App

HTML5 MathML <mover> Tag

Improve
Improve
Like Article
Like
Save
Share
Report

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: 
Screenshot-from-2023-07-06-17-47-51

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

  • Firefox
  • Safari


Last Updated : 07 Jul, 2023
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads