我们的志愿者还没有将这篇文章翻译为 中文 (简体)加入我们帮助完成翻译
您也可以阅读此文章的English (US)版。

The MathML <mover> element is used to attach an accent or a limit over an expression. Use the following syntax: <mover> base overscript </mover>

Attributes

accent
If true the over-script is an accent, which is drawn closer to the base expression.
If false (default value) the over-script is a limit over the base expression.
align
The alignment of the over-script. Possible values are: left, center, and right.
class, id, style
Provided for use with stylesheets.
href
Used to set a hyperlink to a specified URI.
mathbackground
The background color. You can use #rgb, #rrggbb and HTML color names.
mathcolor
The text color. You can use #rgb, #rrggbb and HTML color names.

Examples

Sample rendering: x+y+z

Rendering in your browser: x + y + z

<math>

<mover accent="true">
  <mrow>
    <mi> x </mi>
    <mo> + </mo>
    <mi> y </mi>
    <mo> + </mo>
    <mi> z </mi>
  </mrow>
  <mo> &#x23DE; <!--TOP CURLY BRACKET--> </mo>
</mover> 

</math>

Specifications

Specification Status Comment
MathML 3.0
The definition of 'mover' in that specification.
Recommendation Current specification
MathML 2.0
The definition of 'mover' in that specification.
Recommendation Initial specification

Browser compatibility

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support No support 1.0 (1.7 or earlier) No support No support 5.1
accent No support 1.0 (1.7 or earlier) No support No support No support
align No support 12.0 (12.0) No support No support No support
href No support 7.0 (7.0) No support No support No support
mathbackground No support 4.0 (2.0) No support No support 5.1
mathcolor No support 4.0 (2.0) No support No support 5.1
Feature Android Chrome for Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support No support No support 1.0 (1.0) No support No support No support
accent No support No support 1.0 (1.0) No support No support No support
align No support No support 7.0 (7.0) No support No support No support
href No support No support 7.0 (7.0) No support No support No support
mathbackground No support No support 4.0 (2.0) No support No support No support
mathcolor No support No support 4.0 (2.0) No support No support No support

See also

文档标签和贡献者

 此页面的贡献者: fscholz, fred.wang, Sheppy, evilpie, jswisher
 最后编辑者: fscholz,