HTML5 MathML <mover> Tag
Last Updated :
07 Jul, 2023
Improve
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:
<!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