Skip to content
Chapter 02 of 07 · 2 lessons · ~14 min

Text and Content

Most of the web is text. In this chapter, you'll learn to structure it with headings and paragraphs, and to highlight what matters, so readers and search engines understand your page at a glance.

YOUR PROGRESS0%
/ Lessons in this chapter
04
HTML Headings and Paragraphs (With Examples) How to structure text with headings and paragraphs the right way. Coming soon
05
HTML Text Formatting: Bold, Italic and Line Breaks How to highlight, emphasize and break up text with HTML. Coming soon

Chapter practice task

Write a fully structured “About me” page

  1. Create about.html in your project folder using the boilerplate.
  2. Add one <h1> with your name and three <h2> sections: Who I am, What I do, How I work.
  3. Write two short paragraphs under each <h2>.
  4. Use <strong> on the one phrase per section a client must not miss.
  5. Add your contact details with <br> line breaks inside one <p>.

By the end of this chapter

  • You can plan a clean heading outline before writing
  • You know when to use <strong>, <em>, <br> and <blockquote>
  • You can show special characters like < and © correctly

Quick answers for this chapter

How many <h1> tags should a page have?

One main <h1> per page is the clearest choice for readers and search engines.

Is <b> the same as <strong>?

They look the same, but <strong> tells browsers and screen readers the text is important. Use <strong> for meaning.

How do I add space between lines?

Use CSS margins and line-height. Stacking <br> tags for spacing makes pages hard to maintain.