Theborder attribute in HTML is used to specify the width of the table borders. It is a numeric value that defines the thickness of the border in pixels. If the attribute is not specified, the browser's default value is used.
Values
Number: A numeric value that represents the thickness of the border in pixels. For example,border="1" will create a border that is 1 pixel thick.
Keyword: You can also use keywords likethin,medium, orthick to specify the border thickness. However, these keywords are not recommended for precise control over the border size.
None: If you set the value to0 or omit the attribute, the table will not have any visible borders.
Example
Here's an example of how to use theborder attribute: