'span' Example : span « HTML Attributes Reference « HTML CSS Reference






'span' Example

    
<HTML>
<head><Title>Example For span</Title></head>
<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>  

    
      
      








Related examples in the same category

1.'span' Syntax and Note
2.span is applied to