The following HTML table will be displayed with borders around the table cells:
The border attribute is supported in all major browsers.
The border attribute specifies if a border should be displayed around the table cells or not.
The value "1" indicates borders should be displayed, and that the table is NOT being used for layout purposes.
In HTML5, the border attribute is only used to indicate if the table is for layout purposes or not, and the only allowed attribute values are "" or "1".
|""||No borders around the table cells (the table could be used for layout purposes)|
|"1"||Add borders around the table cells (the table is NOT being used for layout purposes)|
Your message has been sent to W3Schools.