HTML5 MathML
HTML5 MathML <mover> Tag
The <mover> tag places an over-script above a base expression. It is used for accents such as bars, hats and arrows, and for limits displayed above a symbol.
Definition and usage
The <mover> element takes exactly two children: the base first, then the over-script. When the accent attribute is set to true, the over-script is drawn tight against the base like a diacritic; when false, it sits higher, as with a limit above an operator.
Syntax
<mover accent="true">
<!-- base -->
<!-- overscript -->
</mover>Example
<math>
<mover accent="true">
<mi>v</mi>
<mo>→</mo>
</mover>
</math>This draws a rightwards arrow over v to denote a vector. Setting accent to true keeps the arrow close to the variable as an accent.
ℹ️
The <mover> element is part of MathML Core and is supported by modern browsers, including recent Chrome and Edge.
