<h5> HTML Tag

In this article I will discuss <h5> tag of HTML
  • 1851

The HTML h5 tag is used for specifying level 5 headings. There are 6 levels of headings (h1 - h6) with h1 the most important and h6 the least important.

Example

<html>

<head>

    <title></title>

</head>

<body>

    <table style="border:2px solid Red" border=2 >

        <tr>

            <td>

                <h5 style="color: Blue">

                    Employee_Id</h5>

            </td>

            <td>

                <h5 style="color: Blue">

                Employee_Name

            </td>

        </tr>

        <tr>

            <td>

                <h5>

                    101</h5>

            </td>

            <td>

                <h5>

                    Richa garg</h5>

            </td>

        </tr>

        <tr>

            <td>

                <h5>

                    104</h5>

            </td>

            <td>

                <h5>

                    Megha garg</h5>

            </td>

        </tr>

    </table>

</body>

</html> 

 

Output
 

Employee_Id
Employee_Name
101
Richa garg
104
Megha garg

Ask Your Question 

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

 

© 2020 DotNetHeaven. All rights reserved.