'scope' specifies the group of cells to which header information on the current cell refers : scope : Table Attributes HTML CSS TUTORIALS


HTML CSS TUTORIALS » Table Attributes » scope »

 

'scope' specifies the group of cells to which header information on the current cell refers



    
<HTML>
<BODY>
<table border="1">
   <tr>
      <th scope="colgroup">Header 1</th>
      <th scope="colgroup">Header 2</th>
      <th scope="colgroup">Header 3</th>
      <th scope="colgroup">Header 4</th>
      <th scope="colgroup">Header 5</th>
      <th scope="colgroup">Header 6</th>
   </tr>
   <tr>
      <th scope="rowgroup">Row 1</th>
      <td>Cell</td>
      <td>Cell</td>
      <td>Cell</td>
      <td scope="col">Cell info 1</td>
      <td>Cell</td>
   </tr>
   <tr>
      <th scope="rowgroup">Row 2</th>
      <td>Cell</td>
      <td>Cell</td>
      <td>Cell</td>
      <td>Cell</td>
      <td>Cell</td>
   </tr>
   <tr>
      <th scope="rowgroup">Row 3</th>
      <td>Cell</td>
      <td>Cell</td>
      <td>Cell</td>
      <td>Cell</td>
      <td>Cell</td>
   </tr>
   <tr>
      <th scope="rowgroup">Row 4</th>
      <td scope="row">Cell info 2</td>
      <td>Cell</td>
      <td>Cell</td>
      <td>Cell</td>
      <td>Cell</td>
    </tr>
</table>
</BODY>
</HTML>  
    
      
      



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo Table Attributes
» scope