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.

15 pixels
25 pixels
35 pixels
45 pixels
55 pixels
65 pixels
75 pixels
85 pixels
95 pixels
120 pixels
10%
20%
30%
40%
50%
60%
70%
80%
90%
100%

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 1Table Head 2
Table Data 1Table Data 2

In the following table, the border attribute for TABLE is set to 0. Therefore, the table shall have no border.

Table Head 1Table Head 2
Table Data 1Table 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 1Table Head 2
Table Data 1Table 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 1Table Head 2
Table Data 1Table 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 1Table Head 2
Table Data 1Table Data 2