Chapter 2
Document Setup
Key Skills & Concepts
• Create an HTML File
• Preview an HTML File in a Browser
• Describe and Apply the Basic HTML Document Format
• Use Character Entities to Display Special Characters
• Add Comments to an HTML File
Now that you know a little about the Web and what to think about before creating a web page, let’s talk about the basic setup of an HTML page.
Create an HTML File
At their very core, HTML files are simply text files with two additional features:
• HTML files have an .html or .htm file extension. A file extension is an abbreviation that associates the file with the appropriate program or ...
Get HTML: A Beginner's Guide, Fifth Edition, 5th 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.