Skip to main content

Tables

Tables | HTML: Tables are used to organize the data in well understanding manner.

Here is the tables.html:

  1. <!DOCTYPE html>
  2. <html lang="en" dir="ltr">
  3.   <head>
  4.     <title>Tables in Html</title>
  5.   </head>
  6.   <body>
  7.     <table border="5px" bordercolor="green" width="50%">
  8.       <caption><h3><b>Students Details</b></h3></caption>
  9.       <tr>
  10.         <th>Id</th>
  11.         <th>Name</th>
  12.         <th>Branch</th>
  13.       </tr>
  14.       <tr>
  15.         <td>001</td>
  16.         <td>Abc</td>
  17.         <td>25</td>
  18.       </tr>
  19.     </table>
  20.   </body>
  21. </html>

Web view of Html:



Here is the Video: