Search

 HTML Tables 

An HTML table is defined with the “<table>” tag. Each table row is defined with the “<tr>” tag. A table header is defined with the “<th>” tag. By default, table headings are bold and centered. A table data/cell is defined with the “<td>” tag.

HTML Table Example : - 

<!DOCTYPE html>
<html>
   <body>
      <table >
         <tbody>
            <tr>
               <td>FULL NAME</td>
               <td>AGE </td>
            </tr>
            <tr>
               <td>Rony Azad</td>
               <td>17</td>
            </tr>
            <tr>
               <td>Yaseen&nbsp;</td>
               <td>19</td>
            </tr>
            <tr>
               <td>Vasit Azad</td>
               <td>22</td>
            </tr>
            <tr>
               <td>Adil Azad</td>
               <td>21</td>
            </tr>
            <tr>
               <td>Shibhuu</td>
               <td>21</td>
            </tr>
         </tbody>
      </table>
   </body>
</html>

— The output of the above example will look something like this:-

FULL NAMEAGE
Rony Azad17
Yaseen 19
Vasit Azad22
Adil Azad21
Shibhuu21

 

Stack Overlode is optimized Tutorials and examples for learning and training. Examples might be simplified to improve reading and learning and understand. Tutorials and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using Stack Overlode, you agree to have read and accepted our terms of use, cookie and privacy policy.