Chapter 2
Filling in the Index Page
Now that we’ve created and deployed a valid HTML page, it’s time to start filling in the sample website. We’ll begin by scoping out the structure of our index page while adding a more normal-sized paragraph (Section 2.1). We’ll then format the resulting text (Section 2.2) while adding links (Section 2.3) and images (Section 2.4). Starting in Chapter 3, we’ll add two more pages to go along with our index page, introducing several more important HTML tags along the way.
2.1 Headings
As noted in Section 1.3, our main index page will include some information about Learn Enough to Be Dangerous, so we’ll start by updating the title
tag contents with a new title. Then, we’ll replace the paragraph in the HTML body ...
Get Learn Enough HTML, CSS and Layout to be Dangerous: An Introduction to Modern Website Creation and Templating Systems 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.