Abakada HTML Demo: cols Property


Click on a table to see how many columns it has. The COLS style attribute can be assigned a number independent of the visible number of columns in the table, as you can see from clicking on the bottom table.

Column 1Column 2Column 3

Column 1Column 2Column 3Column 4Column 5

Column 1Column 2Column 3Column 4
Column 1Column 2Column 3Column 4

View Source   Exit

© 2025 Abakada Web WorkShop. All rights reserved.