Publishers of technology books, eBooks, and videos for creative people

Home > Store

HTML for the World Wide Web with XHTML and CSS: Visual QuickStart Guide, 5th Edition

Register your product to gain access to bonus material or receive a coupon.

HTML for the World Wide Web with XHTML and CSS: Visual QuickStart Guide, 5th Edition

Premium Website

  • Sorry, this book is no longer in print.
Not for Sale

About

Features

  • NEW - Completely updated to reflect the latest trends in Web design and HTML usage.
    • Helps students understand how to build Web sites that reflect their clients' evolving requirements now, and can continue to adapt to change in the future.

  • NEW - Coverage of the transition from HTML to XHTML.
    • Helps students use XHTML, the latest official HTML standard—and thereby prepare for XML, the markup language of the future.

  • NEW - Techniques for building Web sites that will display consistently on multiple browsers, devices, and platforms.
    • Helps students build more flexible sites that can communicate with site visitors using PDAs, cell phones, and other non-traditional devices.

  • NEW - Detailed introduction to building foreign-language and multilingual sites.
    • Helps students build sites for organizations whose markets or audiences reach across geographical boundaries, and take advantage of the Web's accelerating growth outside North America.

  • NEW - Extended coverage of style sheets and CSS.
    • Helps students control page formatting and design more effectively, by taking advantage of the improved CSS support and standardization now available on today's most common browsers.

  • Proven QuickStart visual learning format—Combines an open, welcoming design, hundreds of screen captures, expert tips, and concise step-by-step instructions.
    • Relies on a format designed to make learning as easy as possible.

  • Comprehensive coverage of the fundamentals—Covers all the skills required for basic HTML page layout, including markup for text, links, images, frames, tables, lists, and much more.
    • Covers everything students need to quickly become productive and effective with HTML 4.

  • Expert tutorial and handy quick reference—Designed not only to teach HTML 4 exceptionally well, but also to serve as an outstanding task-based reference.
    • Will remain valuable to students long after they've mastered the fundamentals of HTML 4.

Description

  • Copyright 2003
  • Edition: 5th
  • Premium Website
  • ISBN-10: 0-321-13007-3
  • ISBN-13: 978-0-321-13007-5

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.

Sample Content

Online Sample Chapters

Basic (X)HTML Structure

Basic (X)HTML Structure

Basic (X)HTML Structure

Working with Web Page Files

Table of Contents



Introduction.

The Internet, the Web, and HTML. Open but Not Equal. The Browser Wars. The Push for Standards. The Real World. What Should Your Use? How This Books Works. The HTML VQS Web Site.



1. Web Page Building Blocks.

Markup: Elements, Attributes, and Values. A Web Page's Text Content. Links, Images and Other Non-Text Content. File Names. URLs. HTML vs XHTML. Versions, Flavors, and DOCTYPE. The Default Display of (X)HTML. Adding Style to Your Web Pages. The Cascade: When Rules Collide. A Property's Value.



2. Working with Web Page Files.

Designing Your Site. Creating a New Web Page. Saving Your Web Page. About Microsoft Word and Web Pages. Specifying a Default or “Home” Page. Editing Web Pages. Organizing Files. Viewing Your Page in a Browser. The Inspiration of Others.



3. Basic (X)HTML Structure.

Starting Your Web Page. Creating the Foundation. Declaring the Encoding. Creating a Title. Creating Section Headers. Starting a New Paragraph. Naming Elements. Breaking Up a Page into Divisions. Creating Inline Spans. Creating a Line Break. Adding Comments. Labeling Elements in a Web Page.



4. Basic (X)HTML Formatting.

Making Text Bold or Italic. Changing the Size of Text. Using a Monospaced Front. Using Preformatted Text. Quoting Text. Creating Superscripts and Subscripts. Marking Changed Text. Explaining Abbreviations.



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.

Inserting Images on a Page. Offering Alternate Text. Specifying Size for Speedier Viewing. Scaling an Image. Linking Thumbnails to Images. Making Images Float. Stopping Elements from Wrapping. Adding Space around an Image. Aligning Images. Adding Horizontal Rules.



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 and 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.

Creating an External Style Sheet. Linking External Style Sheets. Offering Alternate Style Sheets. Creating an Internal Style Sheet. Importing External Style Sheets. Applying Style Locally. The Importance of Location. Adding Comments to Style Rules.



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.

Using Media-Specific Style Sheets. How Print Style Sheets Differ. Controlling Page Breads. Other Print Specific CSS Properties.



13. Lists.

Creating Ordered and Unordered Lists. Choosing Your Markers (Bullets). Choosing Where to Start List Numbering. Using Custom Markers. Controlling Where Markers Hang. Setting All List-Style Properties at Once. Creating Definition Lists. Styling Nested 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.

Adding an “Automatic” Script. Calling an External Automatic Script. Triggering a Script. Creating a Button that Executes a Script. Adding Alternate Information. Hiding Scripts from Older Browsers. Hiding Scripts from XML Parsers. Setting the Default Scripting Language.



19. JavaScript Essentials.

Adding the Current Date and Time. Changing a Link's Status Label. Changing Multiple Frames with One Link. Keeping Frames in Their Framesets. Changing an Image When a Visitor Points. Loading Images into Cache. Controlling a New Window's Size.



20. Symbols and Non-English Characters.

About Character Encodings. Saving Your Page with the Proper Encoding. Editing a Page with the Proper Encoding. Declaring Your Page's Character Encoding. Adding Character from Outside the Encoding. Specifying Your Page's Language.



21. Formatting: The Old Way.

Choosing Default Characteristics for Text. Formatting Bits of Text. Another Way to Choose Default Colors. Changing the Color of Links. Striking Out or Underlining Text. Making Text Blink.



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 Sever. 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.

Validating Your Code. Checking the Easy Stuff: HTML. Checking the Easy Stuff: XHTML. Checking the Easy Stuff: CSS. Testing Your Page. When the Browser Displays the Code. When Images Don't Appear. Differences from Browser to Browser. When Nothing Appears in Netscape 4. Still Stuck?



25. Publishing Your Pages on the Web.

Finding a Host for Your Site. Getting Your Own Domain Name. Transferring Files to the Server. Transferring Files to AOL.



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.



Appendix A: (X)HTML Elements and Attributes.


Appendix B: CSS Properties and Values.


Appendix C: Intrinsic Events.


Appendix D: (X)HTML Symbols and Characters.


Appendix E. Hexadecimals.


Appendix F: (X)HTML Tools.

(X)HTML Editors. Images and Graphics. Graphics Tools.



Index.

Updates

Errata

Download the current list of Errata

Submit Errata

More Information

Peachpit Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Peachpit and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about Peachpit products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites; develop new products and services; conduct educational research; and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email ask@peachpit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by Adobe Press. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.peachpit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020