The width of each table below is indicated within the table. For percentage widths, the percentage is based on the width of the browser window.
In the following table, the border attribute for TABLE is not set. Therefore, the table shall have no border because the default value is 0.
Table Head 1 | Table Head 2 |
Table Data 1 | Table Data 2 |
In the following table, the border attribute for TABLE is set to 0. Therefore, the table shall have no border.
Table Head 1 | Table Head 2 |
Table Data 1 | Table Data 2 |
In the following table, the border attribute for TABLE is set to 1. Therefore, the table shall have a border with a width of 1 pixel.
Table Head 1 | Table Head 2 |
Table Data 1 | Table Data 2 |
In the following table, the border attribute for TABLE is set to 2. Therefore, the table shall have a border with width of 2 pixels.
Table Head 1 | Table Head 2 |
Table Data 1 | Table Data 2 |
In the following table, the border attribute for TABLE is set to 10. Therefore, the table shall have a border with width of 10 pixels.
Table Head 1 | Table Head 2 |
Table Data 1 | Table Data 2 |