HTML thead tag

Learn how to use the HTML thead tag in a table to create a heading row. It makes the top row of the table bold or increases the font-weight of the text. It is used in tables to show header.

You have to include an HTML <th> tag also to add text for table header.

Syntax:

A table rows comes in this tag to show header rows. Header cells in table is given by HTML th tag.

Example

Output

Computer parts with its price:

Parts name Price(in $)
Hard Disk 20
Mouse 6
RAM 10
Total 36

Resources and References

1. W3C Specification.
2. HTML living standard
3. W3C project using Github

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

ULTIMATE TOOLKIT Free eBook

Get FREE Access to Toolkit and Resources that we are using in Tutorialdeep that Every Professional Should Have! in one handy PDF.

Download Link Will be Send to Your Email id