'span' sets the number of columns in a group : span : Table Attributes HTML CSS TUTORIALS


HTML CSS TUTORIALS » Table Attributes » span »

 

'span' sets the number of columns in a group



    
<HTML>
<BODY>
<table border="3" cellspacing="5" cellpadding="5">
   <colgroup>
      <col span="3" align="left" style="color:red; font-weight:bold">
      <col span="1" align="center" style="color:green">
      <col span="2" align="right" style="color:blue">
         <tr>
            <td>Column 1</td>
            <td>Column 2</td>
            <td>Column 3</td>
            <td>Column 4</td>
            <td>Column 5</td>
            <td>Column 6</td>
         </tr>
         <tr>
            <td>Cell 1</td>
            <td>Cell 2</td>
            <td>Cell 3</td>
            <td>Cell 4</td>
            <td>Cell 5</td>
            <td>Cell 6</td>
         </tr>
</table>
</BODY>
</HTML>  

    
      
      



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo Table Attributes
» span