O'Reilly logo

Teach Yourself VISUALLY™ HTML and CSS by Linda Wooldridge, Mike Wooldridge

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

Chapter 2. Creating Your First HTML Page

Are you ready to begin creating a Web page? This chapter shows you how to get started with a basic HTML document.

Creating Your First HTML Page

Understanding HTML Document Structure 18

Start an HTML Document 20

Save an HTML Document 24

View an HTML Page 26

Add a Document Declaration 28

Add Metadata 30

Understanding HTML Document Structure

Although Web pages can differ widely in terms of content and layout, all pages have certain HTML tags that give them the same basic structure. Understanding this structure helps you begin to build your own HTML pages.

HTML Tags

Document Type Declaration

The <HTML> and </HTML> tags at the beginning and end of a ...

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