Chapter 5. Formatting Your Text

At this point, you’re familiar with the HTML template, you’ve typed some text into paragraphs, and you’ve successfully saved and validated the work you’ve done so far. In this chapter, you learn quite a bit about styling and organizing text as you type it into the body of your HTML document.

This chapter discusses the following:

  • Adding headings and horizontal lines to organize the page and make it easier for the reader to understand

  • Styling the text you’re typing into your Web page

  • Using different container elements to format entire paragraphs of text

  • Adding bulleted and numbered lists to your Web page

Organize the Page

After you’ve placed some basic paragraphs on your page, you may be ready to break them ...

Get Absolute Beginner’s Guide to Creating Web Pages now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.