<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.

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, when displaystyle is set to true. See also movablelimits on <mo>.

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
MathML Core
# row-in-table-or-matrix-mtr

Browser compatibility

BCD tables only load in the browser

See also