Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
mohamedkhallouq
GitHub Repository: mohamedkhallouq/content
Path: blob/main/files/en-us/web/mathml/element/mtr/index.md
6532 views
---
title: <mtr> slug: Web/MathML/Element/mtr browser-compat: mathml.elements.mtr
---

{{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, center and right.

  • rowalign {{Non-standard_Inline}}

    • : Overrides the vertical alignment of cells specified by {{ MathMLElement("mtable") }} for this row. Possible values are: axis, baseline, bottom, center and top.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • {{ MathMLElement("mtable") }}

  • {{ MathMLElement("mtd") }}