O'Reilly logo

Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day: Includes New HTML5 Coverage, Sixth Edition by Rafe Colburn, Laura Lemay

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Lesson 4. Learning the Basics of HTML

In the first three lessons, you learned about the World Wide Web, how to organize and plan your websites, and why you need to use HTML to create a web page. In Lesson 3, “Introducing HTML and XHTML,” you even created your first simple web page. In this lesson, you learn about each of the basic HTML tags in more depth and begin writing web pages with headings, paragraphs, and several different types of lists. We focus on the following topics and HTML tags:

• Tags for overall page structure: <html>, <head>, and <body>

• Tags for titles, headings, and paragraphs: <title>, <h1> through <h6>, and <p>

• Tags for comments: <!--...-->

Structuring Your HTML

HTML defines three tags that describe the page’s overall ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required