This lesson is for members. Join us? Get access to all 3,000+ tutorials + a community with expert developers around the world.
Access all courses & lessons on egghead today and lock-in your price for life.
In this lesson, you will learn how to add headings to an HTML document by using h1 thru h6.
Access all courses and lessons, track your progress, gain confidence and expertise.
Instructor: Just like in magazines and newspapers, we use headings to show different sections of text. More importantly, headings help organize your page behind the scenes.
In order to add a heading in html, we'll use H1 through H6, with H1 being the biggest. Save the file, and we can see our headline.
No matter how many levels of heading you use, just keep them in numerical order. That is, don't have H1s and H3s without having H2s. It's OK to use multiple of the same size as well.