rules attribute (table)
Specifies which borders will appear between cells within a table.
This attribute has effect only when the border attribute is set as well.
String that sets the type of border rules in a table.
One of the following values:
|Borders on all rows and columns are displayed .|
|Borders are only displayed between columns.|
|Horizontal borders between all tHead, tBody, and tFoot objects; vertical borders between all col and colGroup objects are displayed.|
|Borders are not displayed.|
|Borders are only displayed between rows.|
Default: this attribute has no default value.
Example HTML code 1:
This example illustrates the use of the rules attribute:
Did you find this example helpful?
Supported by tags:
User Contributed Comments