Nos bénévoles n'ont pas encore traduit cet article en Français. Inscrivez-vous et aidez-nous à réaliser cette tâche !
Vous pouvez également lire cet article en English (US).

The MathML <mrow> element is used to group sub-expressions, which usually contain one or more operators with their respective operands (such as <mi> and <mn>). This element renders as a horizontal row containing its arguments.

When writing a MathML expression, you should group elements within an <mrow> in the same way as they are grouped in the mathematical interpretation of the expression. Proper grouping helps the rendering of the expression in several ways:

  • It can improve the display by possibly affecting spacing.
  • It allows for more intelligent line-breaking and indentation.
  • It simplifies the interpretation of the expression by automated systems such as computer algebra systems and audio renderers.


class, id, style
Provided for use with stylesheets.
Overall directionality of formulas. Possible values are either ltr (left to right) or rtl (right to left).
Used to set a hyperlink to a specified URI.
The background color. You can use #rgb, #rrggbb and HTML color names.
The text color. You can use #rgb, #rrggbb and HTML color names.



    <mn> 1 </mn>
    <mo> + </mo>
    <mn> 1 </mn>
    <mo> ( </mo>
      <mi> x </mi>
      <mo> , </mo>
      <mi> y </mi>
    <mo> ) </mo>



Specification Status Comment
MathML 3.0
The definition of 'mrow' in that specification.
Recommendation Current specification
MathML 2.0
The definition of 'mrow' in that specification.
Recommendation Initial specification

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support No ?1 No No6
dir No ?12 No No No
href No ?7 No No10
mathbackground No ?4 No No Yes
mathcolor No ?4 No No Yes
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support No No ?4 No No ?
dir No No ?14 No No ?
href No No ?7 No No ?
mathbackground No No ?4 No6 ?
mathcolor No No ?4 No6 ?

See also

  • Grouping HTML elements: <div>

Étiquettes et contributeurs liés au document

Contributeurs à cette page : fscholz, Yaffle, Sheppy,, jswisher
Dernière mise à jour par : fscholz,