HTML | <table> rules Attribute Last Updated : 27 Mar, 2023 Comments Improve Suggest changes Like Article Like Report The HTML <table> rules Attribute is used to specify which parts of the inside borders that should be visible. Syntax: <table rules="value"> Attribute Values: none: It does not create any lines.groups: It create lines between row and column groups.rows: It creates line between the rows.cols: It creates line between the columns.all: It creates line between the rows and columns. Note: The <table> rules Attribute is not supported by HTML 5. Example: html <!DOCTYPE html> <html> <head> <title> HTML table rules Attribute </title> </head> <body> <h1>GeeksforGeeks</h1> <h2>HTML table rules Attribute</h2> <table rules="rows"> <tr> <th>NAME</th> <th>AGE</th> <th>BRANCH</th> </tr> <tr> <td>BITTU</td> <td>22</td> <td>CSE</td> </tr> </table> <br> <table rules="cols"> <tr> <th>NAME</th> <th>AGE</th> <th>BRANCH</th> </tr> <tr> <td>BITTU</td> <td>22</td> <td>CSE</td> </tr> </table> <br> <table rules="all"> <tr> <th>NAME</th> <th>AGE</th> <th>BRANCH</th> </tr> <tr> <td>BITTU</td> <td>22</td> <td>CSE</td> </tr> </table> </body> </html> Output: Supported Browsers: The browser supported by HTML <table> rules Attribute are listed below: Google ChromeInternet Explorer 9.0FirefoxSafariOpera Comment More infoAdvertise with us Next Article HTML | <table> rules Attribute jit_t Follow Improve Article Tags : Web Technologies HTML HTML-Attributes Similar Reads HTML <table> frame Attribute The HTML <table> element's frame attribute specifies which sides of the tableâs border should be displayed. It can take values like a void, above, below, hsides, vsides, lhs, rhs, or box, controlling how the table's edges are framed.Syntax<table frame="value">Attribute ValuesValueDescrip 2 min read HTML | <td> scope Attribute The HTML <td> scope Attribute is used to specify the cell is used for header row, column, colgroup or rowgroup. This attribute does not display any visual effect on the browser but it is used for screen readers. Note: This attribute is not supported by HTML5. Syntax: <td scope="col | row | 1 min read HTML | <th> scope Attribute The HTML <th> scope Attribute is used to specify the header cell is used for header row, column, colgroup or rowgroup. This attribute does not display any visual effect on the browser but it is used for screen readers. Syntax: <th scope="col | row | colgroup | rowgroup"> Attribute Values 1 min read HTML | <td> rowspan Attribute The HTML <td> rowspan Attribute is used to specify the number of rows a cell should span. That is if a row spans two rows, it means it will take up the space of two rows in that table. It allows the single table cell to span the height of more than one cell or row. It provides the same functio 1 min read HTML | <table> bgcolor Attribute The bgcolor attribute in HTML <table> tag was previously used to set the background color of a table. It was once generally used in over 60% of legacy websites to quickly style table elements without depending on CSS. Although modern best practices recommend using CSS for styling, understandin 1 min read Like