Sams Teach Yourself HTML 4 in 24 Hours
- Table of Contents
- Copyright
- About the Author
- Acknowledgments
- Tell Us What You Think!
- Put Your HTML Page Online Today
- I. Your First Web Page
- Hour 1. Understanding HTML and XML
- Hour 2. Create a Web Page Right Now
- Hour 3. Linking to Other Web Pages
- Hour 4. Publishing Your HTML Pages
- II. Web Page Text
- Hour 5. Text Alignment and Lists
- Hour 6. Text Formatting and Font Control
- Hour 7. Email Links and Links Within a Page
- Hour 8. Creating HTML Forms
- III. Web Page Graphics
- Hour 9. Creating Your Own Web Page Graphics
- Hour 10. Putting Graphics on a Web Page
- Hour 11. Custom Backgrounds and Colors
- Hour 12. Creating Animated Graphics
- IV. Web Page Design
- Hour 13. Page Design and Layout
- Hour 14. Graphical Links and Imagemaps
- Hour 15. Advanced Layout with Tables
- Hour 16. Using Style Sheets
- V. Dynamic Web Pages
- Hour 17. Embedding Multimedia in Web Pages
- Hour 18. Interactive Pages with Applets and ActiveX
- Hour 19. Web Page Scripting for Non-Programmers
- Hour 20. Setting Pages in Motion with Dynamic HTML
- VI. Building a Web Site
- Hour 21. Multipage Layout with Frames
- Hour 22. Organizing and Managing a Web Site
- Hour 23. Helping People Find Your Web Pages
- Hour 24. Planning for the Future of HTML
- VII. Appendixes
- A. Readers' Most Frequently Asked Questions
- B. HTML Learning Resources on the Internet
- C. Complete HTML 4 Quick Reference
- D. HTML Character Entities
Summary
In this hour you've been introduced to the most basic and important HTML tags. By adding these coded commands to any plain text document, you can quickly transform it into a bona fide Web page.
The first step in creating a Web page is to put a few obligatory HTML tags at the beginning and end, including a title for the page. You then mark where paragraphs and lines end, and add horizontal rules and headings if you want them. Table 2.1 summarizes all the tags introduced in this hour.
Table 2.1. HTML Tags Covered in Hour 2
| Tag | Function |
| <html>…</html> | Encloses the entire HTML document. |
| <head>…</head> | Encloses the head of the HTML document. |
| <title>…</title> | Indicates the title of the document. Used within <head>. |
| <body>…</body> | Encloses the body of the HTML document. |
| <p>…</p> | A paragraph; skips a line between paragraphs. |
| <br /> | A line break. |
| <hr /> | A horizontal rule line. |
| <h1>…</h1> | A first-level heading. |
| <h2>…</h2> | A second-level heading. |
| <h3>…</h3> | A third-level heading. |
| <h4>…</h4> | A fourth-level heading (seldom used). |
| <h5>…</h5> | A fifth-level heading (seldom used). |
| <h6>…</h6> | A sixth-level heading (seldom used). |

Account Sign In
View your cart