The MathML <mtr> element represents a row in a table or a matrix. It may only appear in a <mtable> element. This element is similar to the <tr> element of HTML.

Attributes

class, id, style
Provided for use with stylesheets.
columnalign
Overrides the horizontal alignment of cells specified by <mtable> for this row.
Possible values are: left, center and right.
groupalign
Unimplemented
href
Used to set a hyperlink to a specified URI.
mathbackground
The background color. You can use #rgb, #rrggbb and HTML color names.
mathcolor
The text color. You can use #rgb, #rrggbb and HTML color names.
rowalign
Overrides the vertical alignment of cells specified by <mtable> for this row.
Possible values are: axis, baseline, bottom, center and top.

Specifications

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

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support No ?1 No No5.1
columnalign No ?1 No No5.1
groupalign No ? No No No No
href No ?7 No No10
rowalign No ?1 No No5.1
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support No No ?4 No No ?
columnalign No No ?4 No No ?
groupalign No No ? No No No ?
href No No ?7 No No ?
rowalign No No ?4 No No ?

See also

Document Tags and Contributors

Contributors to this page: ExE-Boss, Draussenduscher, fscholz, Sheppy
Last updated by: ExE-Boss,