Open In App

HTML5 MathML <mlabeledtr> tag

The MathML <mlabeledtr> tag in HTML5 is used to represent a label in a row, either on the left or on the right side inside of the <mtable> element. Child of this element is similar to normal table followed by m like <td> become <mtd>.

Syntax: 



<mlabeledtr> element </mlabeledtr>

Attributes: This tag accepts some attributes which are listed below:  

Below example illustrates the MathML <mlabeledtr> tag in HTML5:



Example:  




<!DOCTYPE html>
<html>
 
<head>
    <title>HTML5 MathML mlabeledtr tag</title>
</head>
 
<body>
    <center>
        <h1 style="color:green">
            GeeksforGeeks
        </h1>
 
        <h3>HTML5 MathML mlabeledtr tag</h3>
 
        <math>
            <mtable>
                <mlabeledtr>
                    <mtd>
                        <mn>X</mn>
                    </mtd>
                    <mtd>
                        <mi>Y</mi>
                    </mtd>
                    <mtd>
                        <mi>Z</mi>
                    </mtd>
                    <mtd>
                        <mn>W</mn>
                    </mtd>
                </mlabeledtr>
 
                <mtr>
                    <mtd>
                        <mi>P</mi>
                    </mtd>
                    <mtd>
                        <mi>Q</mi>
                    </mtd>
                    <mtd>
                        <mi>R</mi>
                    </mtd>
                    <mtd>
                        <mi>S</mi>
                    </mtd>
                    <mtd>
                        <mi>T</mi>
                    </mtd>
                </mtr>
            </mtable>
        </math>
    </center>
</body>
 
</html>

Output: 

Supported Browsers: 


Article Tags :