Chapter 2. Setting Up the Document Structure

Setting Up the Document Structure

In this chapter you will learn to:

  • ✓ Specify the document type.

  • ✓ Create the HTML, Head, and Body sections.

  • ✓ Create paragraphs and line breaks.

  • ✓ Specify a page title and keywords.

  • ✓ Publish a file to a server.

Every society needs an infrastructure with certain rules that everyone agrees to for the general public good. For example, we have all agreed that a red light means "stop" and a green light means "go." Everyone who wants to participate in the transportation system has to play by those rules or chaos ensues.

HTML is the same way. You can get creative with your Web content, but there must be an underlying ...

Get HTML and XHTML Step by Step 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.