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
. displaystyle
- A Boolean value specifying whether more vertical space is used for displayed equations or, if set to
false
, a more compact layout is used to display formulas. The main effect is that larger versions of operators are displayed, whendisplaystyle
is set totrue
. See alsolargeop
andmovablelimits
on<mo>
. - 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 Core The definition of 'mtr' in that specification. |
Draft | Draft specification |
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
BCD tables only load in the browser