--- title: slug: Web/MathML/Element/mtr translation_of: Web/MathML/Element/mtr ---

{{MathMLRef()}}

MathML の <mtr> 要素は表組・行列の行を表します。{{ MathMLElement("mtable") }} 要素の中にしか現れません。この要素は HTML の {{ HTMLElement("tr") }} 要素に似ています。

属性

class, id, style
Provided for use with stylesheets.
columnalign
{{ MathMLElement("mtable") }} で指定された,セルの水平方向の揃えの値をこの行について上書きします。
取り得る値は leftcenter,right です。
groupalign
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
{{ MathMLElement("mtable") }} で指定された,セルの垂直方向の揃えをこの行について上書きします。
取り得る値は axis,baseline,bottom,center,top です。

仕様

Specification Status Comment
{{ SpecName('MathML3', 'chapter3.html#presm.mtr', 'mtr') }} {{ Spec2('MathML3') }} Current specification
{{ SpecName('MathML2', 'chapter3.html#presm.mtr', 'mtr') }} {{ Spec2('MathML2') }} Initial specification

ブラウザー実装状況

{{Compat("mathml.elements.mtr")}}

See also