'cols' establishes the number of columns in a table : cols : Table Attributes HTML CSS TUTORIALS


HTML CSS TUTORIALS » Table Attributes » cols »

 

'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>  
    
      
      



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo Table Attributes
» cols