<mtr>

Baseline 2023

Newly available

Since January 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

The <mtr> MathML element represents a row in a table or a matrix. It may only appear in a <mtable> element and its children are <mtd> elements representing cells. This element is similar to the <tr> element of HTML.

Attributes

This element's attributes include the global MathML attributes. Some browsers may also support the following attributes:

columnalign Non-standard

Overrides the horizontal alignment of cells specified by <mtable> for this row. Multiple values separated by space are allowed and apply to the corresponding columns (e.g. columnalign="left center right"). Possible values are: left, center and right.

rowalign Non-standard

Overrides the vertical alignment of cells specified by <mtable> for this row. Possible values are: axis, baseline, bottom, center and top.

Technical summary

Specifications

Specification
MathML Core
# row-in-table-or-matrix-mtr

Browser compatibility

BCD tables only load in the browser

See also