此页面由社区从英文翻译而来。了解更多并加入 MDN Web Docs 社区。

View in English Always switch to English

<mover>

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨2023年1月⁩.

<mover> MathML 元素用于在表达式上方着重标识或界限符号。使用以下语法:<mover> base overscript </mover>

属性

该元素的属性包括全局 MathML 属性以及以下属性:

accent

一个 <boolean>,表示上标是否应该被着重标识(即被放大并靠近基础表达式)。

示例

html
<math display="block"> <mover accent="true"> <mrow> <mi>x</mi> <mo>+</mo> <mi>y</mi> <mo>+</mo> <mi>z</mi> </mrow> <mo>&#x23DE;<!--上花括号--></mo> </mover> </math> 

规范

Specification
MathML Core
# underscripts-and-overscripts-munder-mover-munderover

浏览器兼容性

参见