This attribute holds the row borders value that multiple value can be separated by using a space can consider also. Possible values are none, solid and dashed. This attribute is accepted by <mtable> tag only.
Syntax:
<element rowlines="none|solid|dashed">
Attribute Values:
- none: This attribute sets the row lines of the table none.
- solid: This attribute sets the row lines of the table solid.
- dashed: This attribute sets the row lines of the table dashed.
Below example illustrate the rowlines attribute in HTML5:
Example:
<!DOCTYPE html>
<html>
<head>
<title>HTML5 MathML rowlines Attribute</title>
</head>
<body>
<center>
<h1 style="color:green">
GeeksforGeeks
</h1>
<h3>HTML5 MathML rowlines Attribute</h3>
<math>
<mi>GeeksforGeeks</mi>
<mo>=</mo>
<mtable frame="solid" rowlines="dashed"
rowalign="bottom">
<mtr mathbackground="green;">
<mtd>Course</mtd>
<mtd>Fee</mtd>
</mtr>
<mtr>
<mtd>
<mi>C++ STL</mi>
</mtd>
<mtd>
<mi> 1499</mi>
</mtd>
</mtr>
<mtr>
<mtd>
<mi>Placement 100 </mi>
</mtd>
<mtd>
<mi>9999 </mi>
</mtd>
</mtr>
<mtr>
<mtd>
<mi>DSA Foundation </mi>
</mtd>
<mtd>
<mi>7999</mi>
</mtd>
</mtr>
</mtable>
</math>
</center>
</body>
</html>
Output:
Supported Browsers: The browsers supported by HTML5 MathML rowlines attribute are listed below:
- Firefox