| | | About the Author |
| | | Acknowledgments |
| | | We Want to Hear from You! |
| | | Reader Services |
| | | Introduction |
| |
| | Put Your HTML Page Online Today |
| |
| | Beyond HTML |
| |
| | How to Use This Book |
| |
| | Visual Examples |
| |
| | Special Highlighted Elements |
| |
| | Q&A, Quiz, and Exercises |
| |
| | The Sams Publishing Website |
| | | Part I.
Your First Web Page |
| |
| | Hour 1.
Understanding HTML and XHTML |
| |
| | What Is a Web Page? |
| |
| | How Web Pages Work |
| |
| | The Pieces and Parts of a Web Page |
| |
| | The Many Faces of HTML |
| |
| | The Scoop on HTML, XML, and XHTML |
| |
| | Summary |
| |
| | Q&A |
| |
| | Workshop |
| |
| | Exercises |
| |
| | Hour 2.
Create a Web Page Right Now |
| |
| | Getting Started with a Simple Web Page |
| |
| | HTML Tags Every Web Page Must Have |
| |
| | Organizing a Page with Paragraphs and Line Breaks |
| |
| | Calling Out Text with Headings |
| |
| | Peeking at Other People's Pages |
| |
| | Validating Your Pages |
| |
| | Summary |
| |
| | Q&A |
| |
| | Workshop |
| |
| | Exercises |
| |
| | Hour 3.
Linking to Other Web Pages |
| |
| | Linking to Another Web Page |
| |
| | Linking Between Your Own Pages |
| |
| | Addressing Web Pages |
| |
| | Opening a Link in a New Browser Window |
| |
| | Linking to Google Maps |
| |
| | Adding Links to a Practical Example |
| |
| | Summary |
| |
| | Q&A |
| |
| | Workshop |
| |
| | Exercises |
| |
| | Hour 4.
Publishing Your HTML Pages |
| |
| | Setting Up Web Space on the Internet |
| |
| | Transferring Pages to a Web Server |
| |
| | Making a File Available for Downloading |
| |
| | Other HTML Publishing Options |
| |
| | Testing Your Web Pages |
| |
| | Summary |
| |
| | Q&A |
| |
| | Workshop |
| |
| | Exercises |
| | | Part II.
Building Practical Web Pages with HTML |
| |
| | Hour 5.
Basic Text Alignment and Formatting |
| |
| | The Old Way Versus the New Way |
| |
| | Aligning Text on a Page |
| |
| | The Three Types of HTML Lists |
| |
| | Placing Lists Within Lists |
| |
| | Boldface, Italics, and Special Text Formatting |
| |
| | Tweaking the Font |
| |
| | Working with Special Characters |
| |
| | Summary |
| |
| | Q&A |
| |
| | Workshop |
| |
| | Exercises |
| |
| | Hour 6.
Creating Text Links |
| |
| | Linking Within a Page Using Anchors |
| |
| | Linking to a Specific Part of Another Page |
| |
| | Linking Your Email Address into a Page |
| |
| | Linking to Wikipedia |
| |
| | Summary |
| |
| | Q&A |
| |
| | Workshop |
| |
| | Exercises |
| |
| | Hour 7.
Creating Your Own Web Page Graphics |
| |
| | Choosing Graphics Software |
| |
| | The Least You Need to Know About Graphics |
| |
| | Preparing Photographic Images |
| |
| | Creating Banners and Buttons |
| |
| | Reducing the Number of Colors in an Image |
| |
| | Interlaced GIFs and Progressive JPEGs |
| |
| | Creating Animated Web Graphics |
| |
| | Assembling Images into an Animation |
| |
| | Generating Transitions and Text Effects |
| |
| | Summary |
| |
| | Q&A |
| |
| | Workshop |
| |
| | Exercises |
| |
| | Hour 8.
Putting Graphics on a Web Page |
| |
| | Placing an Image on a Web Page |
| |
| | Describing an Image with Text |
| |
| | Turning Images into Links |
| |
| | Aligning Images |
| |
| | Specifying Image Width and Height |
| |
| | Summary |
| |
| | Q&A |
| |
| | Workshop |
| |
| | Exercises |
| |
| | Hour 9.
Custom Backgrounds and Colors |
| |
| | Exploring Background and Text Colors |
| |
| | Specifying Custom Colors |
| |
| | Using Background Image Tiles |
| |
| | Working with Transparent Images |
| |
| | Creating Your Own Tiled Backgrounds |
| |
| | Summary |
| |
| | Q&A |
| |
| | Workshop |
| |
| | Exercises |
| |
| | Hour 10.
Graphical Links and Imagemaps |
| |
| | Why Imagemaps Aren't Always Necessary |
| |
| | Mapping Regions Within an Image |
| |
| | Creating Client-Side Imagemaps |
| |
| | Summary |
| |
| | Q&A |
| |
| | Workshop |
| |
| | Exercises |
| | | Part III.
Creative Web Page Design |
| |
| | Hour 11.
Using Tables to Organize and Lay Out Your Pages |
| |
| | Creating a Simple Table |
| |
| | Controlling the Size of Tables |
| |
| | Alignment and Spanning Within Tables |
| |
| | Table Backgrounds and Spacing |
| |
| | Creative Page Layout with Tables |
| |
| | Summary |
| |
| | Q&A |
| |
| | Workshop |
| |
| | Exercises |
| |
| | Hour 12.
Formatting Web Pages with CSS Style Sheets |
| |
| | Understanding CSS |
| |
| | A Basic Style Sheet |
| |
| | A CSS Style Primer |
| |
| | Using Style Classes |
| |
| | Internal Style Sheets and Inline Styles |
| |
| | A Quick Style Sheet Recap |
| |
| | Summary |
| |
| | Q&A |
| |
| | Workshop |
| |
| | Exercises |
| |
| | Hour 13.
Digging Deeper into Style Sheet Formatting |
| |
| | Advanced Text Formatting with CSS |
| |
| | Changing the Appearance of Links |
| |
| | Commenting CSS Code |
| |
| | CSS Tips and Tricks |
| |
| | Revisiting the Hockey Player Example |
| |
| | Summary |
| |
| | Q&A |
| |
| | Workshop |
| |
| | Exercises |
| |
| | Hour 14.
Using Style Sheets for Page Layout |
| |
| | The Whole Scoop on Positioning |
| |
| | Controlling the Way Things Stack Up |
| |
| | Working with Margins |
| |
| | A Little Padding for Safety |
| |
| | Keeping Everything Aligned |
| |
| | Managing the Flow of Text |
| |
| | Taking Advantage of a Style Sheet Template |
| |
| | Summary |
| |
| | Q&A |
| |
| | Workshop |
| |
| | Exercises |
| |
| | Hour 15.
Creating Print-Friendly Web Pages |
| |
| | What Makes a Page Print-Friendly? |
| |
| | Applying a Media-Specific Style Sheet |
| |
| | Designing a Style Sheet for Print Pages |
| |
| | Viewing a Web Page in Print |
| |
| | Summary |
| |
| | Q&A |
| |
| | Workshop |
| |
| | Exercises |
| |
| | Hour 16.
Multipage Layout with Frames |
| |
| | What Are Frames? |
| |
| | Building a Frameset |
| |
| | Linking Between Frames and Windows |
| |
| | Nesting Frames Within Frames |
| |
| | Controlling Frame Margins, Borders, and Scrolling |
| |
| | Summary |
| |
| | Q&A |
| |
| | Workshop |
| |
| | Exercises |
| | | Part IV.
Dynamic Web Pages |
| |
| | Hour 17.
Web Page Scripting for Nonprogrammers |
| |
| | The Least You Need to Know About Scripting |
| |
| | Jazzing Things Up with Interactive Highlighting |
| |
| | Preloading Images for Speed |
| |
| | Creating an Animated Banner Ad |
| |
| | Displaying a Random Quote |
| |
| | Creating a Virtual Fish Tank |
| |
| | Cashing In with Google Ads on Your Site |
| |
| | The Wide World of JavaScript |
| |
| | Summary |
| |
| | Q&A |
| |
| | Workshop |
| |
| | Exercises |
| |
| | Hour 18.
Gathering Information with HTML Forms |
| |
| | How HTML Forms Work |
| |
| | Creating a Form |
| |
| | Accepting Text Input |
| |
| | Identifying Each Piece of Form Data |
| |
| | Including Hidden Data in Forms |
| |
| | Exploring Form Input Controls |
| |
| | Submitting Form Data |
| |
| | Using a PayPal Buy Now Button |
| |
| | Summary |
| |
| | Q&A |
| |
| | Workshop |
| |
| | Exercises |
| |
| | Hour 19.
Embedding Multimedia in Web Pages |
| |
| | Placing Multimedia Content on a Web Page |
| |
| | Linking to Multimedia Files |
| |
| | Embedding Video with Windows Media Player |
| |
| | Embedding Audio with RealPlayer |
| |
| | Automatically Embedding the Appropriate Player |
| |
| | Summary |
| |
| | Q&A |
| |
| | Workshop |
| |
| | Exercises |
| |
| | Hour 20.
Jazz Up Your eBay Auctions with HTML and CSS |
| |
| | Why Use HTML and CSS on eBay? |
| |
| | Understanding How HTML Fits into eBay |
| |
| | Creating an eBay Item Listing in HTML |
| |
| | Providing a Link to Your About Me Page |
| |
| | Altering the Background of an Item Page |
| |
| | Creating a Slide Show Item Listing |
| |
| | Summary |
| |
| | Q&A |
| |
| | Workshop |
| |
| | Exercises |
| |
| | Hour 21.
Create Your Own Blog |
| |
| | What's a Blog? |
| |
| | Creating a Blog on Blogger.com |
| |
| | Creating Your First Blog Entry |
| |
| | Using CSS to Dress Up Your Blog |
| |
| | Tying Your Blog to Your Web Site |
| |
| | Updating Your Blog |
| |
| | Summary |
| |
| | Q&A |
| |
| | Workshop |
| |
| | Exercises |
| | | Part V.
Building a Web Site |
| |
| | Hour 22.
Organizing and Managing a Web Site |
| |
| | When One Page Is Enough |
| |
| | Organizing a Simple Site |
| |
| | Organizing a Larger Site |
| |
| | Writing Maintainable HTML Code |
| |
| | Summary |
| |
| | Q&A |
| |
| | Workshop |
| |
| | Exercises |
| |
| | Hour 23.
Helping People Find Your Web Pages |
| |
| | Publicizing Your Web Site |
| |
| | Listing Your Pages with the Major Search Sites |
| |
| | Providing Hints for Search Engines |
| |
| | Auto Loading Another Web Page |
| |
| | Documenting the Full Address of a Page |
| |
| | Summary |
| |
| | Q&A |
| |
| | Workshop |
| |
| | Exercises |
| |
| | Hour 24.
Beyond Traditional Web Sites |
| |
| | HTML Beyond the Web |
| |
| | From Calculators to Wireless Communicators |
| |
| | HTML as the New User Interface |
| |
| | The Digital Media Revolution Will Not Be Televised |
| |
| | Preparing Yourself for Tomorrow |
| |
| | The Future of HTML Applications |
| |
| | Summary |
| |
| | Q&A |
| |
| | Workshop |
| |
| | Exercises |
| | | Part VI.
Appendixes |
| |
| | Appendix A.
Readers' Most Frequently Asked Questions |
| |
| | The 24 Top Questions from Readers of Sams Teach Yourself HTML and CSS in 24 Hours |
| |
| | Appendix B.
HTML and CSS Resources on the Internet |
| |
| | General HTML, XHTML, and CSS Information |
| |
| | Web Page Design |
| |
| | Software |
| |
| | Graphics |
| |
| | Multimedia |
| |
| | Advanced Developer Resources |
| |
| | HTML Validators |
| |
| | Directories with HTML Information |
| |
| | Web Site Services |
| |
| | Free Web Site Hosting |
| |
| | Appendix C.
Complete XHTML 1.1 and CSS 2 Quick Reference |
| |
| | XHTML Structure |
| |
| | XHTML Text Phrases and Paragraphs |
| |
| | XHTML Text Formatting Elements |
| |
| | XHTML Lists |
| |
| | XHTML Links |
| |
| | XHTML Tables |
| |
| | XHTML Frames |
| |
| | XHTML Embedded Content |
| |
| | XHTML Style |
| |
| | XHTML Forms |
| |
| | XHTML Scripts |
| |
| | XHTML Common Attributes and Events |
| |
| | CSS Dimension Style Properties |
| |
| | CSS Text and Font Style Properties |
| |
| | CSS Background Style Properties |
| |
| | CSS Border Style Properties |
| |
| | CSS Margin Style Properties |
| |
| | CSS Padding Style Properties |
| |
| | CSS Layout and Display Style Properties |
| |
| | CSS List and Marker Style Properties |
| |
| | CSS Table Style Properties |
| |
| | Appendix D.
Migrating from HTML to XHTML |
| |
| | Differences Between XHTML 1 and HTML 4 |
| |
| | XHTML and Document Validity |
| |
| | Declaring XHTML Namespaces |
| |
| | Converting HTML Documents to XHTML |
| | | Index |