Path: blob/main/files/en-us/web/mathml/element/mtr/index.md
6532 views
------{{MathMLRef}}
The <mtr> MathML element represents a row in a table or a matrix. It may only appear in a {{ MathMLElement("mtable") }} element and its children are {{ MathMLElement("mtd") }} elements representing cells. This element is similar to the {{ HTMLElement("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_Inline}}: Overrides the horizontal alignment of cells specified by {{ MathMLElement("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,centerandright.
rowalign{{Non-standard_Inline}}: Overrides the vertical alignment of cells specified by {{ MathMLElement("mtable") }} for this row. Possible values are:
axis,baseline,bottom,centerandtop.
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}
See also
{{ MathMLElement("mtable") }}
{{ MathMLElement("mtd") }}