<mtr>

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

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
mtrChrome No support NoEdge No support NoFirefox Full support 1IE No support NoOpera No support NoSafari Full support 5.1WebView Android No support NoChrome Android No support NoFirefox Android Full support 4Opera Android No support NoSafari iOS No support NoSamsung Internet Android No support No
columnalignChrome No support NoEdge No support NoFirefox Full support 1IE No support NoOpera No support NoSafari Full support 5.1WebView Android No support NoChrome Android No support NoFirefox Android Full support 4Opera Android No support NoSafari iOS No support NoSamsung Internet Android No support No
groupalignChrome No support NoEdge No support NoFirefox No support NoIE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android No support NoFirefox Android No support NoOpera Android No support NoSafari iOS No support NoSamsung Internet Android No support No
hrefChrome No support NoEdge No support NoFirefox Full support 7IE No support NoOpera No support NoSafari Full support 10WebView Android No support NoChrome Android No support NoFirefox Android Full support 7Opera Android No support NoSafari iOS No support NoSamsung Internet Android No support No
rowalignChrome No support NoEdge No support NoFirefox Full support 1IE No support NoOpera No support NoSafari Full support 5.1WebView Android No support NoChrome Android No support NoFirefox Android Full support 4Opera Android No support NoSafari iOS No support NoSamsung Internet Android No support No

Legend

Full support  
Full support
No support  
No support

See also