<th> Tag in HTML 5

In this article I am going to explain about <th> tag in Html 5
  • 1602

Definition

The <th>  tag use for defined table header cell. Table header cell means its contain information about header. <th> tag must be within <table> tag.

Browser that supports <th> tag

 Internet explorer, Mozilla firefox, Google chrome, Opera and Safari browsers.

Lets take an example of <th> tag

<html>
 <head>
     <table border="1">
        <tr>
             <th>Name<th>
             <tr><td>prabhakar<td></tr>
             <tr><td>Ajay</td></tr>
       </tr>
    </table>
 </head>
</html>

Output

th.jpg

Further Readings

You may read more about HTML 5 Tags:  here

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

© 2019 DotNetHeaven. All rights reserved.