HTML border attribute
HTML border attributes represents the border of the table to make it presentable.
Attribute values
All possible values of border attributeThe value of this attribute is a valid positive integer (1,2,3...). For example, the following example represents a thick border for the table.
In the above example, the value of border attribute is 5.
Related Tags
The tags that support border attribute<table> tag
-
table tag represents the data in the form of rows and columns. It supports the border attribute.
Although border attribute is used in the <border> tag but border also applies to the <td> tag.