<mtr>

Baseline Widely available *

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨January 2023⁩.

{"* "}Some parts of this feature may have varying levels of support.

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

Implicit ARIA role None

Specifications

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

Browser compatibility

See also