-
Notifications
You must be signed in to change notification settings - Fork 22.5k
/
index.md
55 lines (40 loc) · 1.4 KB
/
index.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
title: <munderover>
slug: Web/MathML/Element/munderover
page-type: mathml-element
browser-compat: mathml.elements.munderover
---
{{MathMLRef}}
The **`<munderover>`** [MathML](/en-US/docs/Web/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](/en-US/docs/Web/MathML/Global_attributes) as well as the following attributes:
- `accent`
- : A [`<boolean>`](/en-US/docs/Web/MathML/Values#mathml-specific_types) indicating whether the over script should be treated as an accent (i.e. drawn bigger and closer to the base expression).
- `accentunder`
- : A [`<boolean>`](/en-US/docs/Web/MathML/Values#mathml-specific_types) 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>
```
{{ EmbedLiveSample('munderover_example', 700, 200, "", "") }}
## Specifications
{{Specifications}}
## Browser compatibility
{{Compat}}
## See also
- {{ MathMLElement("munder") }} (Underscript)
- {{ MathMLElement("mover") }} (Overscript)