Lesson: HTML5 and CSS
Headline with the h2 Element
Over the next few challenges, we'll build an HTML5 app that will look something like this:
h2 element you enter will create an
h2 element on the website.
This element tells the browser about the structure of your website.
h1 elements are often used for main headings, while
h2 elements are generally used for subheadings. There are also
h6 elements to indicate different and new sections.
h2 tag that says "CatPhotoApp" to create a second HTML
element below your "Hello World"
The content on this page is licensed under Attribution-ShareAlike 4.0 International. Original authors: freeCodeCamp, the content was modified.