<munderover>

<munderover> MathML 元素用于在表达式上方和下方同时附加符号。

它使用以下语法:<munderover> base underscript overscript </munderover>

属性

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

accent

<boolean>,表示上标是否应被着重标识(即,绘制得更大并且更接近基本表达式)。

accentunder

<boolean>,表示下标是否应被着重标识(即,绘制得更大并且更接近基本表达式)。

示例

html
<math display="block">
  <munderover>
    <mo></mo>
    <mrow>
      <mi>n</mi>
      <mo>=</mo>
      <mn>1</mn>
    </mrow>
    <mrow>
      <mo>+</mo>
      <mn></mn>
    </mrow>
  </munderover>
</math>

规范

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

浏览器兼容性

BCD tables only load in the browser

参见