WeCodeAcademy

Headings, Paragraphs and Formatting

Headings run from <h1> (most important) to <h6>. Use one <h1> per page.

Examplehtml
Open in editor »

Browsers collapse extra spaces and line breaks inside a paragraph. Use <br> for a break and <pre> to keep spacing exactly.

Examplehtml
Open in editor »
Quick check

Which heading is the most important?

Finish the quick check (and any code exercise) to complete this lesson, or mark it done yourself.

Tip: use the left and right arrow keys to move between lessons.