<h4> HTML Tag

In this article I will discuss <h4> tag of HTML
  • 1958

The HTML h4 tag is used for specifying level 4 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>

    <h4>

        Name some Fruit names</h4>

    <ul type="square">

        <li>

            <h4 style="color: Red">

                Apple</h4>

        </li>

        <li>

            <h4 style="color: Green">

                Water Melon</h4>

        </li>

        <li>

            <h4 style="color: Yellow">

                Banana</h4>

        </li>

        <li>

            <h4 style="color: Black">

                Grapes</h4>

        </li>

        <li>

            <h4 style="color: Orange">

                Orange</h4>

        </li>

    </ul>

</body> 

 

Output

Name some Fruit names

  • Apple

  • Water Melon

  • Banana

  • Grapes

  • Orange

Ask Your Question 
 

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

 

© 2020 DotNetHeaven. All rights reserved.