Chapter 2

Constructing Pages with Good Bones

IN THIS CHAPTER

Bullet Herding your text into paragraphs

Bullet Organizing your page with headings

Bullet Adding line breaks and horizontal rules

Bullet Getting familiar with HTML’s all-important semantic page tags

In real estate, describing a house as having good bones means the house has (among other attributes) a solid foundation, well-built framing, and a decent roof. In other words, the house has a strong overall structure.

When it comes to building web homes, you want your pages to have good bones, as well. Creating that solid structure is the province of HTML, particularly the elements used to convert plain text into the structural elements of the page.

In this chapter, you explore those foundational HTML tags that add the most basic structure to any page, including headings and paragraphs, articles and sections, and headers and footers. You also learn about a few other structure-related elements for creating things like line breaks and horizontal rules. What you learn in this chapter will form the basis of every web page project you undertake.

Getting ...

Get HTML & CSS Essentials For Dummies 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.