Search⌘ K

Headings and Lists

Explore how to use HTML heading elements correctly to create semantic page structure and apply different types of lists. Learn to use unordered and ordered lists with attributes for bullet styles and numbering schemes. This lesson helps you build accessible and well-organized web content.

Headings

The HTML standard has h1 element as well as five additional text heading elements, appropriately named h2 through h6.

It should be noted that heading elements should not be used to manipulate the font size of a heading. Rather, the levels represent semantically the difference between a main header, sub-header, etc. To practice good style, you shouldn’t skip heading levels when structuring your HTML pages. In other words, an h2 element should be used for a header one level below an h1 element, an h3 ...