-->

HTML th Tag

HTML <th> tag

HTML <th> Tag



HTML th tag: 

This is a double tag. <th> This is the beginning tag and </th> this is the closing tag. This <th> element defines a header cell in a table which are display like bold, center-align text. That <th> element is a header cell that can appear in the first row of table. That <th> element can be defined into the <thead> tag, which has some browser advantages, but it is optional. This tag using for making table header.





<th>= Table header
Copy this code and past your page.





Example:

Result:
                     
Table Heading 1Table Heading 2
Table cell 1Table cell 2

<tr/> = table row/table brack.

<td> = table cell.


<th> = table header.



HTML  <th> tag

HTML  <th> tag








Support Browser
HTML <th> tag.
Browser
HTML <th> tag.
Google 
 Chrome  
HTML <th> tag.
Internet
Explorer
HTML <th> tag.
Firefox
HTML <th> tag.
Opera  
HTML <th> tag.
 Safari   
<th>
YesYes Yes Yes  Yes






  • Elements Attributes: abbr, align, axis, bgcolor, char, charoff, colspan, headers, height, nowrap, rowspan, scope, sorted, valign, width etc.



  • Html Version Differenc: Differences Between HTML 5 and 4.01.

In HTML5 all layout attributes are removed.



If you want to make table header using HTML code, Use HTML <th> element.


1. What is the <th>tag ?


2. What is the using for <th> tag ?


3. What is the definition of <th> tag ?


4. What is the <th> tag mean ?


5.How can You make table header using HTML?
Facebook Comments

Follow by Email