freeCodeCamp’s Headline with the h2 Element

Headings, Headings…. & More Headings

In the previous lesson we created an h1 element with the content “Hello World”.

In the following lessons we will create a cat photo app using html!

The element “h1” tells our browser how to structure our website.  Any tag from h1 – h6 will create heading elements (h1 for main headings h6 for least important heading).

This lesson simply asks us to add a second element(h2) under our h1 element.  The content of our h2 element should say “CatPhotoApp”.

Your answer should look like this:

<h2> CatPhotoApp </h2>

And should print out:


Hello World

CatPhotoApp


Congratulations, click next to continue on!

(Important: Headings should not be used to make font look bigger.  Headings help tell search engines and screen readers the importance of the element)

NEXT LESSON->

 <-PREVIOUS LESSON

Other Pages

Home

freeCodeCamp

codecademy

Portfolio