Headings

Other font attributes

The good people of HTML realized that sometimes we might need our font sizes to be larger, or bold. So they created the header tags that have a pre-formatted size and boldness.

Add the following code segment to your web page

<body>
So this is regular text

<h1> This the largest header </h1>

This is regular text

<h4> This is kind of the middle size header </h4>

This is  regular text

<h6> This is the smallest size header </h6>

This is regular text

</body>

Now change the font color of the H4 header

Last updated