VOOZH about

URL: https://www.geeksforgeeks.org/html/html5-mathml-mtr-tag/

⇱ HTML5 | MathML <mtr> Tag - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

HTML5 | MathML <mtr> Tag

Last Updated : 24 Aug, 2021

The MathML <mtr> tag is used to create row of a table or the matrices in HTML5. It is similar to <tr> of a table tag.
Syntax: 
 

<mtr attributes="value"> child elements </mtr>


Attributes: It accepts some attributes which are listed below: 
 

  • class|id|style: This attribute is used to hold the styles of the child elements.
  • columnalign: This attribute holds the horizontal alignment of the table cells. Possible values are left, right and center.
  • href: This attribute is used to hold any hyperlink to a specified URL.
  • mathbackground: This attribute holds the value of the math expressions background color.
  • mathcolor: This attribute holds the color of the math expressions.
  • rowalign: This attribute holds vertical alignment of the table cells. Possible values are top, bottom and center.


Below example illustrates the MathML <mtr> tag in HTML5:
Example: 
 

Output: 
 

👁 Image


Supported Browsers: The browsers supported by HTML5 MathML <mtr> tag are listed below: 
 

  • Firefox
  • Safari


 

Comment