Chapter 2. Understanding HTML and XHTML Connections

WHAT YOU’LL LEARN IN THIS CHAPTER:

• How to create a simple web page in HTML

• How to include all the HTML Tags that every web page must have

• How to organize a page with paragraphs and line breaks

• How to organize your content with headings

• How to validate your web content

• How to differentiate between HTML, XML, XHTML, and HTML5

The first chapter gave you a basic idea of the process behind creating web content and viewing it online (or locally, if you do not yet have a web hosting provider). In this chapter, we’ll get down to the business of explaining the various elements that must appear in an HTML file so that it is displayed appropriately in your web browser.

By the end of the ...

Get Sams Teach Yourself HTML, CSS and JavaScript All in One 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.