TOP CATEGORIES

×

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: advertise@gdatamart.com

Donate: To Support US

© 2024 GDATAMART.COM (All Rights Reserved)