<msubsup>
The <msubsup> MathML element is used to attach both a subscript and a superscript, together, to an expression.
The **`<msubsup>`** [MathML](/docs/Web/MathML) element is used to attach both a subscript and a superscript, together, to an expression.
It uses the following syntax: `<msubsup> base subscript superscript </msubsup>`.
## Attributes
This element's attributes include the [global MathML attributes](/docs/Web/MathML/Reference/Global_attributes) as well as the following deprecated attributes:
- `subscriptshift`
- : A length-percentage indicating the minimum amount to shift the baseline of the subscript down.
- `superscriptshift`
- : A length-percentage indicating the minimum amount to shift the baseline of the superscript up.
> [!NOTE]
> For the `subscriptshift` and `superscriptshift` attributes, some browsers may also accept [legacy MathML lengths](/docs/Web/MathML/Reference/Values#legacy_mathml_lengths).
## Examples
```html
<math display="block">
<msubsup>
<mo>∫<!--Integral --></mo>
<mn>0</mn>
<mn>1</mn>
</msubsup>
</math>
```
Examples
## Technical summary
<table class="properties">
<tr>
<th scope="row">
<a href="/en-US/docs/Web/Accessibility/ARIA/Reference/Roles">Implicit ARIA role</a>
</th>
<td>
None
</td>
</tr>
</table>
## Specifications
## Browser compatibility
## See also
- msub (Subscript)
- msup (Superscript)
- mmultiscripts (Prescripts and tensor indices)
Cite this
"". MDN Web Docs. CC BY-SA 2.5 (MDN). https://developer.mozilla.org/en-US/docs/Web/MathML/Reference/Element/msubsup JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy