th Tag for Table Heading
Heading for a table can be defined using <th> tag. It replaces the <td> tag in the top row of the table which is usually used to represent table heading. It can also be used else where in the table for emphasis.
HTML code <table border=”1″> <tr> <th>Heading 1</th> <th>Heading 2</th> </tr> <tr> <td>Cell 1</td> <td>Cell 2</td> </tr> </table> |
Browser output |
Apply for HTML5 Certification Now!!
http://www.vskills.in/certification/Certified-HTML5-Developer