'rowspan' determines how many table rows a cell can span : table rowspan « Tags « HTML / CSS






'rowspan' determines how many table rows a cell can span

  
    
<HTML>
<BODY>
<table border="1">
   <tr>
      <th height="79" rowspan="2">Cell 1</th>
      <th height="79">Cell 2</th>
      <th height="79" rowspan="3">Cell 3</th>
      <th height="79">Cell 4</th>
      <th height="79">Cell 5</th>
   </tr>
   <tr>
      <th height="79" rowspan="3">Cell 7</th>
      <th height="79" rowspan="2">Cell 9</th>
      <th height="79">Cell 10</th></tr>
   <tr>
      <th height="79">Cell 6</th>
      <th height="79">Cell 11</th>
   </tr>
   <tr>
      <th height="79">Cell 12</th>
      <th height="79">Cell 8</th>
      <th height="79">Cell 13</th>
      <th height="79">Cell 14</th>
   </tr>
</table>
</BODY>
</HTML>  
    
      
        
    
  








Related examples in the same category

1.Spanning rows
2.CSS rowspan test
3.table spans