<munderover>

Baseline 2023

Newly available

Since January 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

The <munderover> MathML element is used to attach accents or limits both under and over an expression.

It uses the following syntax: <munderover> base underscript overscript </munderover>

Attributes

This element's attributes include the global MathML attributes as well as the following attributes:

accent

A <boolean> indicating whether the over script should be treated as an accent (i.e. drawn bigger and closer to the base expression).

accentunder

A <boolean> indicating whether the under script should be treated as an accent (i.e. drawn bigger and closer to the base expression).

Examples

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>

Technical summary

Specifications

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

Browser compatibility

BCD tables only load in the browser

See also