Sams Teach Yourself: Web Publishing with HTML and CSS in One Hour a Day
Sams Teach Yourself: Web Publishing with HTML and CSS in One Hour a Day
By Laura Lemay, Rafe Colburn
Publisher: Sams
Pub Date: June 08, 2006
Print ISBN-10: 0-672-32886-0
Print ISBN-13: 978-0-672-32886-2
Pages: 840
Table of Contents | Index
Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day is a new edition of the best-selling
book that started the whole HTML/web publishing phenomenon. The entire book has been revised and refined to
reflect current web publishing practices and technologies. It includes extensive coverage of Cascading Style
Sheets (CSS), which have become a staple in web development.
You'll have no problem learning from expert author Laura Lemay's clear and approachable writing style.
Simple, step-by-step instructions with lots of practical, interesting examples of web pages will guide you as you
master current web publishing technologies and practices.
file:///G|/1/0672328860/main.html [19.12.2006 13:48:09]
Table of Contents
Sams Teach Yourself: Web Publishing with HTML and CSS in One Hour a Day
By Laura Lemay, Rafe Colburn
Publisher: Sams
Pub Date: June 08, 2006
Print ISBN-10: 0-672-32886-0
Print ISBN-13: 978-0-672-32886-2
Pages: 840
Table of Contents | Index
Copyright
About the Authors
Acknowledgments
We Want to Hear from You!
Reader Services
Introduction
Part I: Getting Started
Lesson 1. Navigating the World Wide Web
How the World Wide Web Works
Web Browsers
Web Servers
Uniform Resource Locators
Summary
Workshop
Lesson 2. Preparing to Publish on the Web
Anatomy of a Website
What Do You Want to Do on the Web?
Setting Your Goals
Breaking Up Your Content into Main Topics
Ideas for Organization and Navigation
Storyboarding Your Website
Summary
Workshop
Lesson 3. Introducing HTML and XHTML
What HTML IsAnd What It Isn't
The Current Standard: XHTML 1.0
What HTML Files Look Like
Using Cascading Style Sheets
Programs to Help You Write HTML
file:///G|/1/0672328860/toc.html (1 von 8) [19.12.2006 13:48:17]
Table of Contents
Summary
Workshop
Lesson 4. Learning the Basics of HTML
Structuring Your HTML
The Title
Headings
Paragraphs
Lists, Lists, and More Lists
Comments
Summary
Workshop
Part II: Creating Simple Web Pages
Lesson 5. Adding Links to Your Web Pages
Creating Links
Linking Local Pages Using Relative and Absolute Pathnames
Links to Other Documents on the Web
Linking to Specific Places Within Documents
Anatomy of a URL
Kinds of URLs
Summary
Workshop
Lesson 6. Formatting Text with HTML and CSS
Character-Level Elements
Character Formatting Using CSS
Preformatted Text
Horizontal Rules
Line Break
Addresses
Quotations
Special Characters
Text Alignment
Fonts and Font Sizes
<nobr> and <wbr>
Summary
Workshop
Lesson 7. Adding Images, Color, and Backgrounds
Images on the Web
Image Formats
Inline Images in HTML: The <img> Tag
Images and Text
Images and Links
file:///G|/1/0672328860/toc.html (2 von 8) [19.12.2006 13:48:17]
Table of Contents
What Is an Imagemap?
Client-Side Imagemaps
Creating Client-Side Imagemaps
Other Neat Tricks with Images
Using Color
Image Backgrounds
Image Etiquette
Summary
Workshop
Part III: Doing More with HTML and XHTML
Lesson 8. Building Tables
Creating Tables
Table Parts
Sizing Tables, Borders, and Cells
Table and Cell Color and Alignment
Aligning Your Table Content
Spanning Multiple Rows or Columns
More Advanced Table Enhancements
Other Table Elements and Attributes
How Tables Are Used
Summary
Workshop
Lesson 9. Creating Layouts with CSS
Including Style Sheets in a Page
Selectors
Units of Measure
Box Properties
CSS Positioning
Modifying the Appearance of Tables
The <body> Tag
Links
Creating Layouts with Multiple Columns
Summary
Workshop
Lesson 10. Designing Forms
Understanding Form and Function
Using the <form> Tag
Creating Form Controls with the <input> Tag
Using Other Form Controls
Adding Extras
Applying Cascading Style Sheet Properties to Forms
file:///G|/1/0672328860/toc.html (3 von 8) [19.12.2006 13:48:17]
Table of Contents
Planning Your Forms
Summary
Workshop
Lesson 11. Integrating Multimedia: Sound, Video, and More
Understanding How to Present Sound and Video
The Old Standby: Linking
Embedding Sound and Video
Sound and Video File Types
Of Plug-Ins and Players
Summary
Workshop
Part IV: JavaScript and Dynamic HTML
Lesson 12. Introducing JavaScript
Introducing JavaScript
The <script> Tag
Basic Commands and Language Structure
Basic JavaScript Programming
Summary
Workshop
Lesson 13. Using JavaScript in Your Pages
Creating a Random Link Generator
Validating Forms with JavaScript
Creating an Image Rollover
Summary
Workshop
Lesson 14. Working with Frames and Linked Windows
What Are Frames and Who Supports Them?
Working with Linked Windows
Working with Frames
Changing Frame Borders
Creating Complex Framesets
Floating Frames
Opening Linked Windows with JavaScript
Summary
Workshop
Lesson 15. Creating Applications with Dynamic HTML and AJAX
What Exactly Is Dynamic HTML?
Using the Document Object Model
Coping with Reality: Cross-Browser DHTML Techniques
Using JavaScript to Manipulate Elements
Connecting to a Server with AJAX
file:///G|/1/0672328860/toc.html (4 von 8) [19.12.2006 13:48:17]
Table of Contents
Summary
Workshop
Part V: Designing Effective Web Pages
Lesson 16. Writing Good Web Pages: Do's and Don'ts
Standards Compliance
Writing for Online Publication
Design and Page Layout
Using Links
Using Images
Other Good Habits and Hints
Summary
Workshop
Lesson 17. Designing for the Real World
What Is the Real World, Anyway?
Considering User Experience Level
Determining User Preference
Deciding on an HTML 4.01 or XHTML 1.0 Approach
What Is Accessibility?
Alternative Browsers
Writing Accessible HTML
Designing for Accessibility
Validating Your Sites for Accessibility
Summary
Workshop
Part VI: Going Live on the Web
Lesson 18. Putting Your Site Online
What Does a Web Server Do?
Locating a Web Server
Organizing Your HTML Files for Publishing
Publishing Your Files
Troubleshooting
Registering and Advertising Your Web Pages
Site Indexes and Search Engines
Search Engine Optimization
Paying for Search Placement
Business Cards, Letterhead, Brochures, and Advertisements
How to Win Friends and Influence People
Finding Out Who's Viewing Your Web Pages
Summary
Workshop
Lesson 19. Taking Advantage of the Server
file:///G|/1/0672328860/toc.html (5 von 8) [19.12.2006 13:48:17]
Table of Contents
Web Applications
Server-Side Includes
Using Apache Access Control Files
Summary
Workshop
Lesson 20. Understanding Server-Side Processing
How PHP Works
Getting PHP to Run on Your Computer
The PHP Language
Loops
Built-in Functions
User-Defined Functions
Processing Forms
Using PHP Includes
Expanding Your Knowledge of PHP
Summary
Workshop
Lesson 21. Using Tools to Make Publishing Easier
The Rise of Content Management
Is a Content Management System Right for You?
Types of Content Management Systems
Working with Packaged Software
TypePad: A Hosted Weblogging Application
WordPress
MediaWiki
Coppermine
Other Applications
Spam
Summary
Workshop
Part VII: Appendixes
Appendix A. Sources for Further Information
Access Counters
Browsers
Collections of HTML and Web Development Information
Forms and Imagemaps
HTML Editors and Converters
HTML Validators, Link Checkers, and Simple Spiders
Java, JavaScript, and Embedded Objects
Log File Parsers
HTML Style Guides
file:///G|/1/0672328860/toc.html (6 von 8) [19.12.2006 13:48:17]
Table of Contents
Servers and Server Administration
Sound and Video
Specifications for HTML, HTTP, and URLs
Server-Side Scripting
Web Publishing Tools
Other Web-Related Topics
Tools and Information for Images
Web Hosting Providers
Web Indexes and Search Engines
Appendix B. HTML 4.01 Quick Reference
Common Attributes and Events
Structure
Text Phrases and Paragraphs
Text Formatting Elements
Lists
Links
Tables
Frames
Embedded Content
Style
Forms
Scripts
Character Entities
Appendix C. Cascading Style Sheet Quick Reference
How to Use This Appendix
Block-Level Properties
Background and Color Properties
Box Model Properties
Font Properties
List Properties
Text Properties
Visual Effects Properties
Aural Style Sheet Properties
Generated Content/Automatic Numbering Properties
Paged Media Properties
Table Properties
User Interface Properties
Cascading Style Sheet Units
Appendix D. Colors by Name and Hexadecimal Value
Appendix E. MIME Types and File Extensions
Index
file:///G|/1/0672328860/toc.html (7 von 8) [19.12.2006 13:48:17]
Table of Contents
file:///G|/1/0672328860/toc.html (8 von 8) [19.12.2006 13:48:17]