Which tag is used for creating a table in HTML?

A

Apsana Khan

There are some table elements use to create a table in HTML:

TABLE  - HTML table element

THEAD  - Create a separate table header

TBODY - Indicate the main body of the table

TH - Table heading

TR - Table row

TD  - Table column

TFOOT - Create a separate table footer

<table>

    <thead> // head section //

        <tr><td></td><tr> 

    </thead>

    <tbody> // body section //

        <tr> <td></td></tr> 

    </tbody>

    <tfoot> // footer section //

        <tr> <td></td> </tr> 

   </tfoot>

</table>

1 votes

Your Answer

Email Us: advertise@gdatamart.com

Donate Us: Support to GDATAMART

LifeStyle & Fun

© 2024 GDATAMART.COM (All Rights Reserved)