Open In App

HTML5 MathML frame Attribute

Last Updated : 20 Nov, 2020
Improve
Improve
Like Article
Like
Save
Share
Report

This attribute holds the border value for the entire table. Possible values are none, solid and dashed. This attribute is accepted by <mtable> tag only.

Syntax:

<element frame="none|solid|dashed">

Attribute Values:

  • none: This attribute sets the column lines of the table none.
  • solid: This attribute sets the column lines of the table solid.
  • dashed: This attribute sets the column lines of the table dashed.

Below example illustrate the frame attribute in HTML5:

Example:

HTML




<!DOCTYPE html> 
<html
  
<head
    <title>HTML5 MathML frame attribute</title
</head
  
<body
    <center
        <h1 style="color:green"
            GeeksforGeeks 
        </h1
  
        <h3>HTML5 MathML frame attribute</h3
  
        <math
            <mi>GeeksforGeeks</mi
            <mo>=</mo
            <mtable frame="solid" rowlines="dashed"
                    align="axis 1"
                <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 frame attribute are listed below:

  • Firefox


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads