<mo>
The <mo> MathML element represents an operator in a broad sense. Besides operators in strict mathematical meaning, this element also includes "operators" like parentheses, separators like comma and semicolon, or "absolute value" bars.
The **`<mo>`** [MathML](/docs/Web/MathML) element represents an **operator** in a broad sense. Besides operators in strict mathematical meaning, this element also includes "operators" like parentheses, separators like comma and semicolon, or "absolute value" bars.
## Attributes
In addition to the [global MathML attributes](/docs/Web/MathML/Reference/Global_attributes), this element accepts the following attributes [whose default values depend on the operator's form and content](https://w3c.github.io/mathml-core/#algorithm-for-determining-the-properties-of-an-embellished-operator):
- `accent`
- : A [`<boolean>`](/docs/Web/MathML/Reference/Values#mathml-specific_types) indicating whether the operator should be treated as an accent when used as an [under](/docs/Web/MathML/Reference/Element/munder)- or [overscript](/docs/Web/MathML/Reference/Element/mover) (i.e., drawn bigger and closer to the base expression).
- `fence`
- : A [`<boolean>`](/docs/Web/MathML/Reference/Values#mathml-specific_types) indicating whether the operator is a fence (such as parentheses). There is no visual effect for this attribute.
- `form`
- : An [enumerated](/docs/Glossary/Enumerated) attribute specifying how the operator is to be presented. For example, depending on the value, a different amount of space might be rendered on either side of the operator. It can have one of the following values:
- `prefix`: The operator appears before its operands. For example, in the expression `+ a`, the `+` is a prefix operator.
- `infix`: The operator appears between its operands. In the expression `a + b`, the `+` is an infix operator.
- `postfix`: The operator appears after its operands. For example, in the expression `a +`, the `+` is a postfix operator.
- `largeop`
- : A [`<boolean>`](/docs/Web/MathML/Reference/Values#mathml-specific_types) indicating whether the operator should be drawn bigger when math-style is set to `normal`.
- `lspace`
- : A length-percentage indicating the amount of space before the operator.
- `maxsize`
- : A length-percentage indicating the maximum size of the operator when it is stretchy.
- `minsize`
- : A length-percentage indicating the minimum size of the operator when it is stretchy.
- `movablelimits`
- : A [`<boolean>`](/docs/Web/MathML/Reference/Values#mathml-specific_types) indicating whether attached under- and overscripts move to sub- and superscript positions when math-style is set to `compact`.
- `rspace`
- : A length-percentage indicating the amount of space after the operator.
- `separator`
- : A [`<boolean>`](/docs/Web/MathML/Reference/Values#mathml-specific_types) indicating whether the operator is a separator (such as commas). There is no visual effect for this attribute.
- `stretchy`
- : A [`<boolean>`](/docs/Web/MathML/Reference/Values#mathml-specific_types) indicating whether the operator stretches to the size of the adjacent element.
- `symmetric`
- : A [`<boolean>`](/docs/Web/MathML/Reference/Values#mathml-specific_types) indicating whether a stretchy operator should be vertically symmetric around the imaginary math axis (centered fraction line).
> [!NOTE]
> For the `lspace`, `maxsize`, `minsize` and `rspace` attributes, some browsers may also accept [legacy MathML lengths](/docs/Web/MathML/Reference/Values#legacy_mathml_lengths).
## Examples
```html-nolint
<math display="block">
<mrow>
<mn>5</mn>
<mo>+</mo>
<mn>5</mn>
</mrow>
</math>
<math display="block">
<mrow>
<mo>[</mo> <!-- default form value: prefix -->
<mrow>
<mn>0</mn>
<mo>;</mo> <!-- default form value: infix -->
<mn>1</mn>
</mrow>
<mo>)</mo> <!-- default form value: postfix -->
</mrow>
</math>
```
700
## 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
Cite this
"". MDN Web Docs. CC BY-SA 2.5 (MDN). https://developer.mozilla.org/en-US/docs/Web/MathML/Reference/Element/mo JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy