SHARE
TWEET

HTML Rowspan/Colspan

Rakibul_Ahasan Jan 24th, 2020 (edited) 109 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html>
  3.  <head>
  4.    <title> HTML Rowspan/Colspan</title>
  5.  </head>
  6.  
  7.  <body>
  8.    
  9.          <!-- First Table of colspan -->
  10.    <table border="2" height="300" width="400" bordercolor="green" align="center">
  11.    
  12.       <caption style="color:green"> <b>HTML COLSPAN</b> </caption>
  13.      
  14.       <tr height="100">
  15.          <th>Name</td>
  16.          <th colspan="2">Telephone</td>
  17.       </tr>
  18.      
  19.        <tr align="center">
  20.          <td>Papon</td>
  21.          <td>01741885987</td>
  22.          <td>01719650979</td>
  23.       </tr>
  24.      
  25.    </table>
  26.    
  27.            <!-- Second Table of colspan-->
  28.    <table border="2" height="300" width="400" bordercolor="green" align="center">
  29.    
  30.       <caption style="color:green"> <b>HTML COLSPAN</b> </caption>
  31.      
  32.       <tr height="100">
  33.          <th>Name</td>
  34.          <th>Telephone</td>
  35.          <th>hhrdhrt</th>
  36.       </tr>
  37.      
  38.        <tr align="center">
  39.          <td>Papon</td>
  40.          <td>01741885987</td>
  41.          <td>01719650979</td>
  42.       </tr>
  43.      
  44.       <tr align="center">
  45.          <td>Papon</td>
  46.          <td colspan="2">01741885987</td>
  47.       </tr>
  48.      
  49.    </table>
  50.    
  51.       <!-- Third Table of rowspan -->
  52.    <table border="2" height="300" width="400" bordercolor="green" align="center">
  53.    
  54.       <caption style="color:green"> <b>HTML COLSPAN</b> </caption>
  55.      
  56.       <tr height="100">
  57.          <th rowspan="3" >Name</td>
  58.           <th>Name</td>
  59.          <th>Telephone</td>
  60.       </tr>
  61.      
  62.        <tr align="center">
  63.          <td>Papon</td>
  64.          <td>01741885987</td>
  65.       </tr>
  66.      
  67.       <tr align="center">
  68.          <td>Papon</td>
  69.          <td>01741885987</td>
  70.       </tr>
  71.      
  72.    </table>
  73.  </body>
  74.  
  75. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top