<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

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
munderover
accent
accentunder

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support

See also