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
andright
. - 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
andtop
.
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
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | No support | 1.0 (1.7 or earlier) | No support | No support | 5.1 |
columnalign androwalign |
No support | 1.0 (1.7 or earlier) | No support | No support | 5.1 |
groupalign |
No support | No support | No support | No support | No support |
href |
No support | 7.0 (7.0) | No support | No support | No support |
Feature | Android | Chrome for Android | Firefox Mobile (Gecko) | IE Phone | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|
Basic support | No support | No support | 1.0 (1.9.2) | No support | No support | No support |
columnalign androwalign |
No support | No support | 1.0 (1.9.2) | No support | No support | No support |
groupalign |
No support | No support | No support | No support | No support | No support |
href |
No support | No support | 7.0 (7.0) | No support | No support | No support |