HTML Table Header using rowspan - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Table Row

Description

HTML Table Header using rowspan

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
 </head> <!--  ww  w  .  j  a  v  a 2s. c  o  m-->
 <body> 
  <table border="1"> 
   <caption> 
    <em>Lorem ipsum dolor sit amet, co</em> 
   </caption> 
   <tbody> 
    <tr> 
     <th colspan="2">Lorem ip</th> 
     <th rowspan="2">Lorem<br>Lorem </th> 
    </tr> 
    <tr> 
     <th>Lorem </th> 
     <th>Lorem </th> 
    </tr> 
    <tr> 
     <td>Lor</td> 
     <td>Lorem</td> 
     <td>Lor</td> 
    </tr> 
    <tr> 
     <td>Lor</td> 
     <td>Lorem</td> 
     <td>Lor</td> 
    </tr> 
   </tbody> 
  </table>  
 </body>
</html>

Related Tutorials