<th> HTML Tag

In this article we will discuss about how to use table header tag in html
  • 1222

The <th> tag stands for table header. It is used to make the table heading and it appears in bold letters. It comes under table tag.

HTML Code:

<html>

<head>

    <title></title>

</head>

<body>

            <table border="1" bgcolor="lightblue">

            <tr>

                <th>

                    Table Header

                </th>

            </tr>

            <tr>

                <th>

                    Makes

                </th>

            </tr>

            <tr>

                <th>

                    The table heading

                </th>

            </tr>

            <tr>

            </tr>

        </table>

   </body>

</html>

Output:

tttttttttttttttttttttt.jpg

Ask Your Question 

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

Programming Answers here

© 2013 dotNetheaven. All rights reserved.