4. Creating Your First Page

IN THIS CHAPTER

• Creating an HTML template

• Structuring Web documents properly

• Typing text into paragraphs

• Saving, testing, and validating the page

In this chapter, you begin creating HTML documents by piecing together the required skeleton of XHTML elements into a basic template. After you’ve created that template, you move on to the basics of entering text for your page. After that, you learn how to save your document, test it by viewing it in a browser window, and validate it to make sure your code adheres to set standards.

Build Your HTML Template

As you saw in Chapter 3, “What You Need to Get Started,” all you need to create HTML documents is a basic text editor. HTML pages, although they include the .htm ...

Get Absolute Beginner’s Guide to Creating Web Pages, Second Edition 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.