Book description
As both the Web and the browsers used to navigate it mature, work-arounds that compensate for the myriad factors that affect Web page appearance no longer cut it. Users expect Web pages to look beautiful regardless--and with the Fifth Edition of this popular Visual QuickStart Guide, you can make your Web pages comply. By following the generously illustrated, step-by-step instructions that are the hallmark of the Visual QuickStart series, you'll create beautiful code that works consistently across browser versions and platforms (including hand-held devices and cell phones) in no time.
This updated edition includes a new section on foreign-language and multilingual Web sites as well as ample coverage on how the use of HTML is changing. What hasn't changed, however, is the book's popular format: Task-oriented, step-by-step instruction that builds on your growing knowledge. Info-packed appendixes, a comprehensive index, and plenty of screen shots and code examples make HTML for the World Wide Web, Fifth Edition, with XHTML and CSS: Visual QuickStart Guide a must-have reference. Whether you're just getting your feet wet (no prior HTML knowledge is required) or design Web sites for a living, you'll turn to this best-selling guide again and again for answers to all of your HTML-related questions.
Table of contents
- Copyright
- Special thanks to
- Introduction
- 1. Web Page Building Blocks
- 2. Working With Web Page Files
- 3. Basic (X)HTML Structure
- 4. Basic (X)HTML Formatting
-
5. Creating Web Images
- About Images for the Web
- Getting Images
- The Save for Web Command
- Making Images Smaller
- Creating Transparency
- Saving Images with Transparency
- Simulating Transparency
- Using (Mostly) Browser Safe Colors
- Reducing the Number of Colors
- Showing Images Progressively
- Blurring Images to Aid JPEG Compression
- Creating Animated GIFs
- 6. Using Images
-
7. Links
- Creating a Link to Another Web Page
- Creating Anchors
- Linking to a Specific Anchor
- Targeting Links to Specific Windows
- Setting the Default Target
- Creating Other Kinds of Links
- Creating Keyboard Shortcuts for Links
- Setting the Tab Order for Links
- Using Images to Label Links
- Dividing an Image into Clickable Regions
- Creating a Client-Side Image Map
- Using a Server-Side Image Map
-
8. Creating Styles
- Constructing a Style Rule
- Constructing Selectors
- Selecting Elements by Name
- Selecting Elements by Class or ID
- Selecting Elements by Context
- Selecting Link Elements Based on Their State
- Selecting Part of an Element
- Selecting Elements Based on Attributes
- Specifying Groups of Elements
- Combining Selectors
- 9. Applying Styles
-
10. Formatting With Styles
- Choosing a Font Family
- Embedding Fonts on a Page
- Creating Italics
- Applying Bold Formatting
- Setting the Font Size
- Setting the Line Height
- Setting All Font Values at Once
- Setting the Text Color
- Changing the Text’s Background
- Controlling Spacing
- Adding Indents
- Setting White Space Properties
- Aligning Text
- Changing the Text Case
- Using Small Caps
- Decorating Text
-
11. Layout with Styles
- Structuring Your Pages
- The Box Model
- Displaying and Hiding Elements
- Positioning Elements Absolutely
- Affixing an Element to the Browser Window
- Offsetting Elements In the Natural Flow
- Changing the Background
- Changing the Foreground Color
- Changing the Cursor
- Setting the Border
- Adding Padding around an Element
- Setting the Margins around an Element
- Setting the Height or Width for an Element
- Positioning Elements in 3D
- Determining Where Overflow Should Go
- Making Elements Float
- Controlling Where Elements Float
- Aligning Elements Vertically
- 12. Style Sheets for Printing
- 13. Lists
-
14. Tables
- Mapping Out Your Page
- Creating a Simple Table
- Adding a Border
- Setting the Width
- Centering a Table on the Page
- Wrapping Text around a Table
- Combining Tables
- Aligning a Cell’s Contents
- Changing the Background
- Controlling the Space
- Spanning a Cell across Columns
- Spanning a Cell across Rows
- Dividing Your Table into Column Groups
- Dividing the Table into Horizontal Sections
- Choosing Which Borders to Display
- Controlling Line Breaks in a Cell
- Speeding up Table Display
-
15. Frames
- Creating a Simple Frameset
- Creating Frames in Columns
- Creating Frames in Rows and Columns
- Combining Framesets
- Creating an Inline Frame
- Adjusting a Frame’s Margins
- Showing or Hiding Scroll Bars
- Adjusting the Color of the Borders
- Adjusting the Frame Borders
- Keeping Visitors from Resizing Frames
- Targeting Links to Particular Frames
- Targeting Links to Special Spots
- Changing the Default Target
- Nesting Framesets
- Offering Alternatives to Frames
- Embedding Content with Objects
- Making Frames More Accessible
-
16. Forms
- About CGI Scripts
- Getting a Script
- Using the Scripts Included with This Book
- Preparing a Script
- Creating a Form
- Sending Form Data via E-mail
- Using a Form Hosting Service
- Creating Text Boxes
- Creating Password Boxes
- Creating Radio Buttons
- Creating Checkboxes
- Creating Menus
- Creating Larger Text Areas
- Allowing Visitors to Upload Files
- About Hidden Fields
- Adding Hidden Fields to a Form
- Creating the Submit Button
- Resetting the Form
- Using an Image to Submit Data
- Organizing the Form Elements
- Formally Labeling Form Parts
- Setting the Tab Order in a Form
- Adding Keyboard Shortcuts
- Disabling Form Elements
- Keeping Elements from Being Changed
-
17. Multimedia
- Of Plugins and Players
- Getting Players for Your Visitors
- Getting Multimedia Files
- Embedding QuickTime Movies
- Scaling a QuickTime Movie
- Looping a QuickTime Movie
- Putting QuickTime Sounds on a Page
- Hiding QuickTime Sounds
- Embedding Windows Media Player Files
- Inserting Java Applets
- Embedding Other Multimedia Files
- Linking to Multimedia Files
- Creating an Automatic Slide Show
- Creating a Marquee
- Adding Background Sound
- 18. Scripts
- 19. Javascript Essentials
- 20. Symbols and Non-English Characters
- 21. Formatting: The Old Way
-
22. Layout: The Old Way
- Using Background Color
- Using Background Images
- Centering Elements on a Page
- Specifying the Margins
- Keeping Lines Together
- Creating Discretionary Line Breaks
- Specifying the Space Between Paragraphs
- Creating Indents
- Creating Indents (with Lists)
- Creating Blocks of Space
- Using Pixel Shims
- Creating Columns
- Positioning Elements with Layers
-
23. WML: Web Pages for Mobile Devices
- Preparing Your Server
- Starting Your WML Page
- Creating a Card
- Creating Basic Content
- Including an Image
- Creating a Table
- Creating a Link
- Programming Buttons
- Creating Conditional Actions
- Scheduling an Action
- Making a Call
- Setting and Using Variables
- Creating Input Boxes
- Creating Menus
- Processing Data from Visitors
- Creating Elements on Multiple Pages
- Restricting Access to a Deck
- Testing WML Pages
- 24. Testing and Debugging Web Pages
- 25. Publishing Your Pages on the Web
-
26. Getting People to Visit
- About Keywords
- Explicitly Listing Keywords
- Providing a Description of Your Page
- Controlling Other Information
- Keeping Visitors Away
- Keeping Pages From Being Archived
- Creating a Crawler Page
- Submitting Your Site to a Search Engine
- Improving Your Ranking by Getting Linked
- Writing Pages That Are Easy to Index
- Other Techniques for Publicizing Your Site
- A. (X)HTML Elements and Attributes
- B. CSS Properties and Values
- C. Intrinsic Events
- D. (X)HTML Symbols and Characters
- E. Hexadecimals
- F. (X)HTML Tools
- Colophon
Product information
- Title: HTML for the World Wide Web, Fifth Edition, with XHTML and CSS
- Author(s):
- Release date: September 2002
- Publisher(s): Peachpit Press
- ISBN: 9780321130075
You might also like
book
Begin to Code with JavaScript
Become a JavaScript programmerand have fun doing it! Start writing software that solves real problems, even …
book
Python Crash Course, 3rd Edition
Python Crash Course is the world's best-selling guide to the Python guide programming language, with over …
book
Python Crash Course, 2nd Edition
This is the second edition of the best selling Python book in the world. Python Crash …
book
Microsoft Certified Azure Fundamentals Study Guide
Quickly preps technical and non-technical readers to pass the Microsoft AZ-900 certification exam Microsoft Certified Azure …