HTML/CSS/Table Attributes/cols

Материал из Web эксперт
Перейти к: навигация, поиск

"cols" establishes the number of columns in a table

    
<HTML>
<BODY>
<table border="4" cols="4">
   <tr><td>Row 1, Column 1</td>
       <td>Row 1, Column 2</td>
       <td>Row 1, Column 3</td>
       <td>Row 1, Column 4</td>
   </tr>
   <tr><td>Row 2, Column 1</td>
       <td>Row 2, Column 2</td>
       <td>Row 2, Column 3</td>
       <td>Row 2, Column 4</td>
   </tr>
</table>
</BODY>
</HTML>