3473-4 FM.f.qc 7/25/00 15:13 Page i HTML Bible, 2nd Edition 3473-4 FM.f.qc 7/25/00 15:13 Page ii 3473-4 FM.f.qc 7/25/00 15:13 Page iii HTML Bible, 2nd Edition Bryan Pfaffenberger and Bill Karow IDG Books Worldwide, Inc An International Data Group Company Foster City, CA ✦ Chicago, IL ✦ Indianapolis, IN ✦ New York, NY 3473-4 FM.f.qc 7/25/00 15:13 Page iv HTML Bible, 2nd Edition Published by IDG Books Worldwide, Inc An International Data Group Company 919 E Hillsdale Blvd., Suite 400 Foster City, CA 94404 www.idgbooks.com (IDG Books Worldwide Web site) Copyright © 2000 IDG Books Worldwide, Inc All rights reserved No part of this book, including interior design, cover design, and icons, may be reproduced or transmitted in any form, by any means (electronic, photocopying, recording, or otherwise) without the prior written permission of the publisher ISBN: 0-7645-3473-4 Printed in the United States of America 10 1B/RX/QY/QQ/FC Distributed in the United States by IDG Books Worldwide, Inc Distributed by CDG Books Canada Inc for Canada; by Transworld Publishers Limited in the United Kingdom; by IDG Norge Books for Norway; by IDG Sweden Books for Sweden; by IDG Books Australia Publishing Corporation Pty Ltd for Australia and New Zealand; by TransQuest Publishers Pte Ltd for Singapore, Malaysia, Thailand, Indonesia, and Hong Kong; by Gotop Information Inc for Taiwan; by ICG Muse, Inc for Japan; by Intersoft for South Africa; by Eyrolles for France; by International Thomson Publishing for Germany, Austria, and Switzerland; by Distribuidora Cuspide for Argentina; by LR International for Brazil; by Galileo Libros for Chile; by Ediciones ZETA S.C.R Ltda for Peru; by WS Computer Publishing Corporation, Inc., for the Philippines; by Contemporanea de Ediciones for Venezuela; by Express Computer Distributors for the Caribbean and West Indies; by Micronesia Media Distributor, Inc for Micronesia; by Chips Computadoras S.A de C.V for Mexico; by Editorial Norma de Panama S.A for Panama; by American Bookshops for Finland For general information on IDG Books Worldwide’s books in the U.S., please call our Consumer Customer Service department at 800-762-2974 For reseller information, including discounts and premium sales, please call our Reseller Customer Service department at 800-434-3422 For information on where to purchase IDG Books Worldwide’s books outside the U.S., please contact our International Sales department at 317-596-5530 or fax 317-572-4002 For consumer information on foreign language translations, please contact our Customer Service department at 800-434-3422, fax 317-572-4002, or e-mail rights@idgbooks.com For information on licensing foreign or domestic rights, please phone +1-650-653-7098 For sales inquiries and special prices for bulk quantities, please contact our Order Services department at 800-434-3422 or write to the address above For information on using IDG Books Worldwide’s books in the classroom or for ordering examination copies, please contact our Educational Sales department at 800-434-2086 or fax 317-572-4005 For press review copies, author interviews, or other publicity information, please contact our Public Relations department at 650-653-7000 or fax 650-653-7500 For authorization to photocopy items for corporate, personal, or educational use, please contact Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, or fax 978-750-4470 Library of Congress Cataloging-in-Publication Data Pfaffenberger, Bryan, 1949HTML Bible / Bryan Pfaffenberger and Bill Karow. 2nd ed p cm ISBN 0-7645-3473-4 (alk paper) HTML (Document markup language) I Karow, Bill II Title QA76.76.H94 P494 2000 005.7'2 dc21 00-040993 LIMIT OF LIABILITY/DISCLAIMER OF WARRANTY: THE PUBLISHER AND AUTHOR HAVE USED THEIR BEST EFFORTS IN PREPARING THIS BOOK THE PUBLISHER AND AUTHOR MAKE NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE ACCURACY OR COMPLETENESS OF THE CONTENTS OF THIS BOOK AND SPECIFICALLY DISCLAIM ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE THERE ARE NO WARRANTIES WHICH EXTEND BEYOND THE DESCRIPTIONS CONTAINED IN THIS PARAGRAPH NO WARRANTY MAY BE CREATED OR EXTENDED BY SALES REPRESENTATIVES OR WRITTEN SALES MATERIALS THE ACCURACY AND COMPLETENESS OF THE INFORMATION PROVIDED HEREIN AND THE OPINIONS STATED HEREIN ARE NOT GUARANTEED OR WARRANTED TO PRODUCE ANY PARTICULAR RESULTS, AND THE ADVICE AND STRATEGIES CONTAINED HEREIN MAY NOT BE SUITABLE FOR EVERY INDIVIDUAL NEITHER THE PUBLISHER NOR AUTHOR SHALL BE LIABLE FOR ANY LOSS OF PROFIT OR ANY OTHER COMMERCIAL DAMAGES, INCLUDING BUT NOT LIMITED TO SPECIAL, INCIDENTAL, CONSEQUENTIAL, OR OTHER DAMAGES FULFILLMENT OF EACH COUPON OFFER IS THE RESPONSIBILITY OF THE OFFEROR Trademarks: All brand names and product names used in this book are trade names, service marks, trademarks, or registered trademarks of their respective owners IDG Books Worldwide is not associated with any product or vendor mentioned in this book is a registered trademark or trademark under exclusive license to IDG Books Worldwide, Inc from International Data Group, Inc in the United States and/or other countries 3473-4 FM.f.qc 7/25/00 15:13 Page v Welcome to the world of IDG Books Worldwide IDG Books Worldwide, Inc., is a subsidiary of International Data Group, the world’s largest publisher of computer-related information and the leading global provider of information services on information technology IDG was founded more than 30 years ago by Patrick J McGovern and now employs more than 9,000 people worldwide IDG publishes more than 290 computer publications in over 75 countries More than 90 million people read one or more IDG publications each month Launched in 1990, IDG Books Worldwide is today the #1 publisher of best-selling computer books in the United States We are proud to have received eight awards from the Computer Press Association in recognition of editorial excellence and three from Computer Currents’ First Annual Readers’ Choice Awards Our bestselling For Dummies® series has more than 50 million copies in print with translations in 31 languages IDG Books Worldwide, through a joint venture with IDG’s Hi-Tech Beijing, became the first U.S publisher to publish a computer book in the People’s Republic of China In record time, IDG Books Worldwide has become the first choice for millions of readers around the world who want to learn how to better manage their businesses Our mission is simple: Every one of our books is designed to bring extra value and skill-building instructions to the reader Our books are written by experts who understand and care about our readers The knowledge base of our editorial staff comes from years of experience in publishing, education, and journalism — experience we use to produce books to carry us into the new millennium In short, we care about books, so we attract the best people We devote special attention to details such as audience, interior design, use of icons, and illustrations And because we use an efficient process of authoring, editing, and desktop publishing our books electronically, we can spend more time ensuring superior content and less time on the technicalities of making books You can count on our commitment to deliver high-quality books at competitive prices on topics you want to read about At IDG Books Worldwide, we continue in the IDG tradition of delivering quality for more than 30 years You’ll find no better book on a subject than one from IDG Books Worldwide John Kilcullen Chairman and CEO IDG Books Worldwide, Inc Eighth Annual Computer Press Awards 1992 Ninth Annual Computer Press Awards 1993 Tenth Annual Computer Press Awards 1994 Eleventh Annual Computer Press Awards 1995 IDG is the world’s leading IT media, research and exposition company Founded in 1964, IDG had 1997 revenues of $2.05 billion and has more than 9,000 employees worldwide IDG offers the widest range of media options that reach IT buyers in 75 countries representing 95% of worldwide IT spending IDG’s diverse product and services portfolio spans six key areas including print publishing, online publishing, expositions and conferences, market research, education and training, and global marketing services More than 90 million people read one or more of IDG’s 290 magazines and newspapers, including IDG’s leading global brands — Computerworld, PC World, Network World, Macworld and the Channel World family of publications IDG Books Worldwide is one of the fastest-growing computer book publishers in the world, with more than 700 titles in 36 languages The “ For Dummies®” series alone has more than 50 million copies in print IDG offers online users the largest network of technology-specific Web sites around the world through IDG.net (http://www.idg.net), which comprises more than 225 targeted Web sites in 55 countries worldwide International Data Corporation (IDC) is the world’s largest provider of information technology data, analysis and consulting, with research centers in over 41 countries and more than 400 research analysts worldwide IDG World Expo is a leading producer of more than 168 globally branded conferences and expositions in 35 countries including E3 (Electronic Entertainment Expo), Macworld Expo, ComNet, Windows World Expo, ICE (Internet Commerce Expo), Agenda, DEMO, and Spotlight IDG’s training subsidiary, ExecuTrain, is the world’s largest computer training company, with more than 230 locations worldwide and 785 training courses IDG Marketing Services helps industry-leading IT companies build international brand recognition by developing global integrated marketing programs via IDG’s print, online and exposition products worldwide Further information about the company can be found at www.idg.com 1/26/00 3473-4 FM.f.qc 7/25/00 15:13 Page vi Credits Acquisitions Editors David Mayhew John Gravener Project Editor Sharon Eames Quality Control Technician Din F Quan Permissions Editor Carmen Krikorian Technical Editor Greg Guntle Associate Media Development Specialist Jamie Smith Copy Editor Laura J Hester Media Development Assistant Marisa Pearman Proof Editor Patsy Owens Media Development Managers Stephen Noetzel Laura Carpenter Project Coordinators Danette Nurse Louigene A Santos Graphics and Production Specialists Bob Bihlmayer Darren Cutlip Jude Levinson Victor Pérez-Varela Ramses Ramirez Book Designer Drew R Moore Illustrator Gabriele McCann Proofreading and Indexing York Production Services Cover Illustration Larry S Wilson About the Authors Bryan Pfaffenberger is the author of more than 75 books on computers and the Internet, including the best-selling Discover the Internet, from IDG Books Worldwide He teaches advanced professional communication and the sociology of computing in the University of Virginia’s Division of Technology, Culture, and Communication Bryan lives in Charlottesville, Virginia, with his family and an extremely spoiled cat In addition to writing several computer books, Bill Karow has served as a contributor or technical editor on more than 30 other books Formerly in charge of systems development for Walt Disney Entertainment, Bill now serves as a computer consultant in the Orlando area when he’s not out riding his bicycle He also has the distinction of having stood atop many of the buildings at Walt Disney World, fanfare trumpet in hand (with their permission, of course) 3473-4 FM.f.qc 7/25/00 15:13 Page vii To Suzanne and Farris 3473-4 FM.f.qc 7/25/00 15:13 Page viii 3473-4 FM.f.qc 7/25/00 15:13 Page ix Preface R emember all that late-1980s talk about the Information Superhighway? You learned you’d get 500 cable channels, not just 50 (or, as comedians put it, 500 terrible channels instead of 50 terrible channels) Like most predictions involving technology, this one was way off the mark (Add this one to the growing catalog of predictions gone awry, such as the famed remark by a 1950s IBM executive that the world would need, at most, a dozen or so computers.) The Information Superhighway didn’t happen at the TV; instead, it happened at the personal computer, connected to the Internet and the World Wide Web Far more important, though, the Information Superhighway that has developed isn’t like TV at all TV is a broadcast medium, in which corporate content providers determine what you’re going to see The Web, from the beginning, was designed to transform couch potatoes into content producers You can nothing but consume Web content, to be sure, and millions of Web surfers are out there who are happy to flit from site to site without making their own contribution And WebTV, of course, brings the Web-as-TV to the TV — and in so doing, robs the Web of part of its power What makes the Web such a powerful medium is, unlike all other mass media, it’s inherently a two-way street, content-wise Anyone who can consume content on the Web can also produce it, using HTML, the easy-to-learn page definition language that underlies the Web’s appearance It’s as if you got a morning paper, but by afternoon, you could publish your own take on the news — and make it available, potentially, to millions of people The Web is probably the most important development in support of free speech since the invention of the printing press, in that it enables virtually anyone to originate content cheaply and make this content available to a potentially massive audience Unquestionably, the Web is good for the environment: millions of tree-killing publications are moving to the Web Within corporations, for example, voluminous publications — directories, employee manuals, procedure manuals, agendas, reports, and meeting minutes — appear in Web-based internal networks called intranets; the environmental plusses, coupled with significant cost savings, make this innovation a no-brainer For even the smallest business, the Web provides a way to get your message out, stay in touch with customers, and provide needed information, but without running up a huge bill at the printer And the best part of all is no one can tell how big or 3473-4 FM.f.qc x 7/25/00 15:13 Page x Preface small you are No reason exists for them ever to know only one little scientist is behind the curtain in the Emerald City The list of Web impacts could go on for dozens of pages, but the pattern’s clear: the Web is fast becoming an indispensable new way to make information available to others This doesn’t mean the Web is going to replace other media anytime soon If you’re running a retail business, you’d be wise to advertise in the local newspaper as well as set up a Web page, but it does mean the Web is no longer something you can prudently ignore No matter what your message might be, you want to get it out on the Web Who Should Read This Book? What all this means for you is simple: Whatever your walk of life — whether you’re a businessperson, a manager, a student at any level, a retired person, a homemaker, or the vice president of the United States (a confessed Web junkie) — you owe it to yourself to learn how to originate Web content And this means learning HTML To this, you need a book — a comprehensive book, and what’s more, a book that teaches you how to take full advantage of this exciting new version of HTML, Version 4.01 Whether you’re a complete beginner or someone who’s already delved into previous versions of HTML, you’ll find this book is absolutely the right one for learning and mastering HTML 4.01 — and in so doing, assure your place in the Web’s future What’s So Special About This Book? The HTML Bible, 2nd Edition is your ticket to mastery of the newest version of HTML, Version 4.01 As you learn in the next section, HTML is the most significant revision of the Web’s publishing language to appear since the language’s invention You need a book that recognizes these novel features and takes a novel approach For the first time, HTML provides Web publishers with the power and flexibility to create page layouts rivaling those found in professionally designed magazines and newsletters HTML requires a new approach to HTML, however If you’ve learned previous versions of HTML, you need to unlearn some old habits — a lot of old habits If you’re learning HTML for the first time, you need to learn it the right way,by reading a book that’s not just a quickie rehash of a book on some previous version of HTML From the first sentence to the last item in the final appendix, this book was written from scratch to emphasize the HTML Way, the radically new approach to Web publishing made possible by this exciting new version of HTML Not a single word of this book appeared in any previous edition that focused on an earlier, flawed version of HTML This book teaches a new approach to learning and using HTML 4, one that fully enables you to realize HTML 4’s incredible layout potential Once you 3473-4 AppE.f.qc 712 7/25/00 13:21 Page 712 Appendixes list-style-type PURPOSE Specifies the bullet or number style used in a list INHERITED Yes VALUES disc, circle, square, decimal (decimal numbers), lower-roman (lower-case Roman numerals), lower-alpha (lowercase ASCII letters), upper-roman (uppercase Roman numerals), upper-alpha (uppercase ASCII letters), none (no marker) DEFAULT disc USED IN List elements in which the display property has been set to list-item SUPPORT MSIE 3.0/Win95: No MSIE 4.0/Win95: Yes MSIE 5.0/Win98: Yes NN 4.0/Win95: Yes NN 4.7/Win98: Yes MSIE 3.0/Mac OS: No MSIE 4.0/Mac OS: Yes NN 4.0/Mac OS: Yes EXAMPLE {list-style-type: disc} TIP Use the display property to set list elements to the list-item value ✦ ✦ ✦ 3473-4 AppF.f.qc 7/25/00 13:21 Page 713 F A P P E N D I X Language Codes Reference L anguage Codes are used with the lang and dir attributes The lang attribute assigns a language to the text in a Web page to be read by the opening browser The dir attribute assigns a direction, right or left, to the assigned language For example, Hebrew is not read left to right like English, but right to left The Language Codes chart in this Appendix lists the language, the language family, and the name code The name code is inserted in the tag for language assignment Language Family Language Name Code Amerindian Aymara AY Amerindian Guarani GN Amerindian Quechua QU Asian Bhutani DZ Asian Bislama BI [not given] Asian Burmese MY Asian Cambodian KM Asian Chinese ZH Asian Japanese JA Asian Korean KO Asian Laotian LO Asian Thai TH Asian Tibetan BO Asian Vietnamese VI Baltic Latvian; Lettish LV Continued ✦ ✦ ✦ ✦ 3473-4 AppF.f.qc 714 7/25/00 13:21 Page 714 Appendixes Language Family Language Name Code Baltic Lithuanian LT Basque Basque EU Celtic Breton BR Celtic Irish GA Celtic Gaelic GD Celtic Welsh CY Dravidian Kannada KN Dravidian Malayalam ML Dravidian Tamil TA Dravidian Telugu TE Eskimo Greenlandic KL Eskimo Inupiak IK Finno-Ugric Estonian ET Finno-Ugric Finnish FI Finno-Ugric Hungarian HU Germanic Afrikaans AF Germanic Danish DA Germanic Dutch NL Germanic English EN Germanic Faroese FO Germanic Frisian FY Germanic German DE Germanic Icelandic IS Germanic Norwegian NO Germanic Swedish SV Germanic Yiddish JI Hamitic Afan (Oromo) OM Hamitic Afar AA Hamitic Somali SO Ibero-Caucasian Abkhazian AB Ibero-Caucasian Georgian KA 3473-4 AppF.f.qc 7/25/00 13:21 Page 715 Appendix F ✦ Language Codes Reference Language Family Language Name Code Indian Assamese AS Indian Bengali; Bangla BN Indian Bihari BH Indian Gujarati GU Indian Hindi HI Indian Kashmiri KS Indian Marathi MR Indian Nepali NE Indian Oriya OR Indian Punjabi PA Indian Sanskrit SA Indian Sindhi SD Indian Singhalese SI Indian Urdu UR Indo-European (other) Albanian SQ Indo-European (other) Armenian HY International aux Esperanto EO International aux Interlingua IA International aux Interlingue IE International aux Volapük VO Iranian Kurdish KU Iranian Pashto; Pushto PS Iranian Persian (Farsi) FA Iranian Tajik TG Latin/Greek Greek EL Latin/Greek Latin LA Negro-African Hausa HA Negro-African Kinyarwanda RW Negro-African Kurundi RN Continued 715 3473-4 AppF.f.qc 716 7/25/00 13:21 Page 716 Appendixes Language Family Language Name Code Negro-African Lingala LN Negro-African Sangho SG Negro-African Sesotho ST Negro-African Setswana TN Negro-African Shona SN Negro-African Siswati SS Negro-African Swahili SW Negro-African Tsonga TS Negro-African Twi TW Negro-African Wolof WO Negro-African Xhosa XH Negro-African Yoruba YO Negro-African Zulu ZU Oceanic/Indonesian Fiji FJ Oceanic/Indonesian Indonesian IN Oceanic/Indonesian Javanese JW Oceanic/Indonesian Malagasy MG Oceanic/Indonesian Malay MS Oceanic/Indonesian Maori MI Oceanic/Indonesian Samoan SM Oceanic/Indonesian Sudanese SU Oceanic/Indonesian Tagalog TL Oceanic/Indonesian Tonga TO Romance Catalan CA Romance Corsican CO Romance French FR Romance Galician GL Romance Italian IT Romance Moldavian MO Romance Occitan OC Romance Portuguese PT 3473-4 AppF.f.qc 7/25/00 13:21 Page 717 Appendix F ✦ Language Codes Reference Language Family Language Name Code Romance Rhaeto-Romance RM Romance Romanian RO Romance Spanish ES Semitic Amharic AM Semitic Arabic AR Semitic Hebrew IW Semitic Maltese MT Semitic Tigrinya TI Slavic Bulgarian BG Slavic Byelorussian BE Slavic Croatian HR Slavic Czech CS Slavic Macedonian MK Slavic Polish PL Slavic Russian RU Slavic Serbian SR Slavic Serbo-Croatian SH Slavic Slovak SK Slavic Slovenian SL Slavic Ukrainian UK Turkic/Altaic Azerbaijani AZ Turkic/Altaic Bashkir BA Turkic/Altaic Kazakh KK Turkic/Altaic Kirghiz KY Turkic/Altaic Tatar TT Turkic/Altaic Turkish TR Turkic/Altaic Turkmen TK Turkic/Altaic Uzbek UZ ✦ ✦ ✦ 717 3473-4 AppG.f.qc 7/25/00 13:21 Page 719 G A P P E N D I X Hex Notations Reference ✦ W hen indicating you would like to assign one of these colors, you must use the Hex notation The color name provided in the Description column is so you know approximately how the hex code will appear Description Hex Code Aqua #00FFFF Aquamarine #7FFFD4 Black #000000 Blue #0000FF Blue Violet #8A2BE2 Brass #B5A642 Bright Gold #D9D919 Bronze #8C7853 Bronze II #A67D3D Brown #A52A2A Cadet Blue #5F9EA0 Chocolate #D2691E Cool Copper #D98719 Copper #B87333 Coral #FF7F50 Cornflower Blue #6495ED Dark Brown #5C4033 Dark Green #006400 Dark Green Copper #4A766E Continued ✦ ✦ ✦ 3473-4 AppG.f.qc 720 7/25/00 13:21 Page 720 Appendixes Description Hex Code Dark Olive Green #556B2F Dark Orchid #9932CD Dark Purple #871F78 Dark Slate Blue #483D8B Dark Slate Grey #2F4F4F Dark Tan #97694F Dark Turquoise #00CED1 Dark Wood #855E42 Dim Grey #696969 Dusty Rose #856363 Faded Brown #F5CCB0 Feldspar #D19275 Firebrick #B22222 Forest Green #228B22 Fuchsia #FF00FF Gold #FFD700 Goldenrod #DAA520 Green #00FF00 Green Copper #527F76 Green Yellow #ADFF2F Grey #808080 Hunter Green #215E21 Indian Red #CD5C5C Khaki #F0E68C Light Blue #ADD8E6 Light Grey #D3D3D3 Light Steel Blue #B0C4DE Light Wood #E9C2A6 Lime #FF0000 Lime Green #32CD32 Mandaran Orange #E47833 3473-4 AppG.f.qc 7/25/00 13:21 Page 721 Appendix G ✦ Hex Notations Reference Description Hex Code Maroon #800000 Medium Aquamarine #66CDAA Medium Blue #0000CD Medium Forest Green #6B8E23 Medium Goldenrod #EAEAAE Medium Orchid #BA55D3 Medium Sea Green #3CB371 Medium Slate Blue #7B68EE Medium Spring Green #00FA9A Medium Turquoise #48D1CC Medium Violet Red #C71585 Medium Wood #A68064 Midnight Blue #191970 Navy Blue #000080 Neon Blue #4D4DFF Neon Pink #FF6EC7 New Midnight Blue #00009C New Tan #EBC79E Old Gold #CFB53B Orange #FF7F00 Orange Red #FF4500 Orchid #DA70D6 Pale Green #98FB98 Pink #FFC0CB Plum #DDA0DD Quartz #D9D9F3 Red #008000 Rich Blue #5959AB Salmon #FA8072 Scarlet #8C1717 Sea Green #2E8B57 Continued 721 3473-4 AppG.f.qc 722 7/25/00 13:21 Page 722 Appendixes Description Hex Code Semisweet Chocolate #6B4226 Sienna #A0522D Silver #C0C0C0 Sky Blue #87CEEB Slate Blue #6A5ACD Spicy Pink #FF1CAE Spring Green #00FF7F Steel Blue #4682B4 Summer Sky #38B0DE Tan #D2B48C Thistle #D8BFD8 Turquoise #40E0D0 Very Dark Brown #5C4033 Very Light Grey #CDCDCD Violet #EE82EE Violet Red #CC3299 Wheat #F5DEB3 White #FFFFFF Yellow #FFFF00 Yellow Green #9ACD32 ✦ ✦ ✦ 3473-4 AppH.f.qc 7/25/00 13:21 Page 723 H A P P E N D I X About the CD-ROM ✦ T he CD-ROM in the back of the book contains trial versions of applications, your choice of browsers, and a selection of images and style sheets — all designed to help you get a Web site developed quickly Included Software The CD-ROM that accompanies this book contains demos or trial versions of the following products: Software Name Vendor BBEdit Lite Bare Bones Software, Inc DeBabelizer Equilibrium Dreamweaver 3.0 Macromedia, Inc Drop Stuff w/ Expander Enhancer Aladdin Systems Fireworks Macromedia, Inc Flash Macromedia, Inc Fusion NetObjects, Inc GIF Movie Gear Gamani Productions GraphicConverter 3.2 Lemke Software HomeSite Allaire Corporation HTML Tidy Dave Raggett PageMill Adobe Systems, Inc Script Builder NetObjects, Inc Tex-Edit Plus Trans Tex-Software TextPad Helios Software Solutions WebPosition Gold FirstPlace Software, Inc ✦ ✦ ✦ 3473-4 AppH.f.qc 724 7/25/00 13:21 Page 724 Appendixes These products fall into one of three categories of software: Web-development tools, Web-position evaluator, or Web-accessory development tools CrossReference Several of the tools listed are the Web-development tools discussed in Chapter Browsers Internet Explorer and Netscape Communicator are full-featured Web browsers They are mentioned throughout this book While you can download them from their respective Web sites, the file sizes are rather large Installing from a CD is much faster Book files A PDF version of this book is available on the CD-ROM In order to open these files, you’ll need to install Acrobat Reader, a product by Adobe, which also can be found on the CD Finally, there are files discussed in this book These files are located within folders named by the chapter number in which they are referenced ✦ ✦ ✦ 3473-4 eula.f.qc 7/25/00 13:23 Page 725 IDG Books Worldwide, Inc End-User License Agreement READ THIS You should carefully read these terms and conditions before opening the software packet(s) included with this book (“Book”) This is a license agreement (“Agreement”) between you and IDG Books Worldwide, Inc (“IDGB”) By opening the accompanying software packet(s), you acknowledge that you have read and accept the following terms and conditions If you not agree and not want to be bound by such terms and conditions, promptly return the Book and the unopened software packet(s) to the place you obtained them for a full refund License Grant IDGB grants to you (either an individual or entity) a nonexclusive license to use one copy of the enclosed software program(s) (collectively, the “Software”) solely for your own personal or business purposes on a single computer (whether a standard computer or a workstation component of a multiuser network) The Software is in use on a computer when it is loaded into temporary memory (RAM) or installed into permanent memory (hard disk, CD-ROM, or other storage device) IDGB reserves all rights not expressly granted herein Ownership IDGB is the owner of all right, title, and interest, including copyright, in and to the compilation of the Software recorded on the disk(s) or CD-ROM (“Software Media”) Copyright to the individual programs recorded on the Software Media is owned by the author or other authorized copyright owner of each program Ownership of the Software and all proprietary rights relating thereto remain with IDGB and its licensers Restrictions On Use and Transfer (a) You may only (i) make one copy of the Software for backup or archival purposes, or (ii) transfer the Software to a single hard disk, provided that you keep the original for backup or archival purposes You may not (i) rent or lease the Software, (ii) copy or reproduce the Software through a LAN or other network system or through any computer subscriber system or bulletin-board system, or (iii) modify, adapt, or create derivative works based on the Software (b) You may not reverse engineer, decompile, or disassemble the Software You may transfer the Software and user documentation on a permanent basis, provided that the transferee agrees to accept the terms and conditions of this Agreement and you retain no copies If the Software is an update or has been updated, any transfer must include the most recent update and all prior versions Restrictions on Use of Individual Programs You must follow the individual requirements and restrictions detailed for each individual program in Appendix H of this Book These limitations are also contained in the individual 3473-4 eula.f.qc 7/25/00 13:23 Page 726 license agreements recorded on the Software Media These limitations may include a requirement that after using the program for a specified period of time, the user must pay a registration fee or discontinue use By opening the Software packet(s), you will be agreeing to abide by the licenses and restrictions for these individual programs that are detailed in Appendix H and on the Software Media None of the material on this Software Media or listed in this Book may ever be redistributed, in original or modified form, for commercial purposes Limited Warranty (a) IDGB warrants that the Software and Software Media are free from defects in materials and workmanship under normal use for a period of sixty (60) days from the date of purchase of this Book If IDGB receives notification within the warranty period of defects in materials or workmanship, IDGB will replace the defective Software Media (b) IDGB AND THE AUTHORS OF THE BOOK DISCLAIM ALL OTHER WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE SOFTWARE, THE PROGRAMS, THE SOURCE CODE CONTAINED THEREIN, AND/OR THE TECHNIQUES DESCRIBED IN THIS BOOK IDGB DOES NOT WARRANT THAT THE FUNCTIONS CONTAINED IN THE SOFTWARE WILL MEET YOUR REQUIREMENTS OR THAT THE OPERATION OF THE SOFTWARE WILL BE ERROR FREE (c) This limited warranty gives you specific legal rights, and you may have other rights that vary from jurisdiction to jurisdiction Remedies (a) IDGB’s entire liability and your exclusive remedy for defects in materials and workmanship shall be limited to replacement of the Software Media, which may be returned to IDGB with a copy of your receipt at the following address: Software Media Fulfillment Department, Attn.: HTML Bible, 2nd Edition, IDG Books Worldwide, Inc., 10475 Crosspoint Blvd., Indianapolis, IN 46256, or call 1-800-762-2974 Please allow three to four weeks for delivery This Limited Warranty is void if failure of the Software Media has resulted from accident, abuse, or misapplication Any replacement Software Media will be warranted for the remainder of the original warranty period or thirty (30) days, whichever is longer (b) In no event shall IDGB or the authors be liable for any damages whatsoever (including without limitation damages for loss of business profits, business interruption, loss of business information, or any other pecuniary loss) arising from the use of or inability to use the Book or the Software, even if IDGB has been advised of the possibility of such damages 3473-4 eula.f.qc 7/25/00 13:23 Page 727 (c) Because some jurisdictions not allow the exclusion or limitation of liability for consequential or incidental damages, the above limitation or exclusion may not apply to you U.S Government Restricted Rights Use, duplication, or disclosure of the Software by the U.S Government is subject to restrictions stated in paragraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause of DFARS 252.227-7013, and in subparagraphs (a) through (d) of the Commercial Computer — Restricted Rights clause at FAR 52.227-19, and in similar clauses in the NASA FAR supplement, when applicable General This Agreement constitutes the entire understanding of the parties and revokes and supersedes all prior agreements, oral or written, between them and may not be modified or amended except in a writing signed by both parties hereto that specifically refers to this Agreement This Agreement shall take precedence over any other documents that may be in conflict herewith If any one or more provisions contained in this Agreement are held by any court or tribunal to be invalid, illegal, or otherwise unenforceable, each and every other provision shall remain in full force and effect [...]... 43 3 43 3 43 6 43 7 43 8 43 8 43 9 43 9 44 0 44 0 44 0 44 0 44 1 44 2 44 2 44 3 44 4 Chapter 38: Creating Animated Graphics for the Web 44 5 Introducing Animated GIFs Planning Your Animation Creating the Animation Using a GIF Animation Editor ... 41 1 41 2 41 2 41 4 41 4 41 4 41 5 41 6 41 7 41 9 42 1 42 2 42 3 42 3 42 4 42 4 xxix 347 3 -4 FM.f.qc xxx 7/25/00 15:13 Page xxx Contents Providing Navigational Aids Maintaining a Multipage Site Bonus: Maintaining a Really Large Web Site From Here Part VI: Adding Sensory Excitement and Interactivity 42 5 42 6 42 8... 139 140 141 142 143 144 144 145 146 146 146 148 149 149 150 150 152 153 153 xxi 347 3 -4 FM.f.qc 7/25/00 15:13 xxii Introduction Page xxii Part III: Developing Document Structure with HTML 4 155 Chapter 12: Understanding HTML 4 Document Architecture 157 What’s New in HTML 4? Frames Forms ... 47 1 47 2 47 2 47 2 47 3 47 3 47 3 47 4 47 4 47 4 47 5 xxxi 347 3 -4 FM.f.qc xxxii 7/25/00 15:13 Page xxxii Contents Adding Video Files to Your Page Inline movies Out-of-line movies Invaluable Resources From Here 47 7 47 7 47 7 47 7 47 7 Chapter 42 : Incorporating... 47 9 48 0 48 2 48 2 48 3 48 4 48 5 48 5 48 6 48 7 48 7 48 8 48 9 48 9 49 0 49 1 49 1 49 2 49 2 Chapter 43 : Adding Java Applets 49 5 Introducing Java Java Pluses and Minuses The Java virtual machine The Just-In-Time compiler Understanding... 44 5 44 6 44 8 44 8 45 0 45 0 45 0 45 0 45 1 45 1 45 1 45 1 347 3 -4 FM.f.qc 7/25/00 15:13 Page xxxi Contents Chapter 39: Designing and Implementing Imagemaps 45 3 Introducing Imagemaps Imagemap Design Server-Side Versus Client-Side Imagemaps Developing Graphics... 46 1 46 2 46 2 46 2 46 3 46 3 46 3 46 4 46 5 46 5 46 6 46 6 46 7 46 7 46 8 46 8 Chapter 41 : Producing and Adding Video 47 1 Introduction to Digital Video Expectations Garbage in, garbage out The Anatomy of Digital Video Frame rate Frame size... 29 31 31 32 32 34 34 36 36 36 37 37 38 39 39 40 41 41 42 42 43 43 43 44 45 46 Chapter 4: Going Public! 47 Getting Your Facts Straight Desktop Web Servers Enterprise Web Servers Publishing... Chapter 43 : Adding Java Applets Creating 44 : Subscriptions with the Channel Definition Format Chapter 45 : Accessing External Databases Chapter 46 : Building a Community: Incorporating Discussion Groups and Chat 43 3 44 5 45 3 46 1 47 1 47 9 49 5 503 511 519 Part VII: Using Cross-Browser Dynamic HTML 525 Chapter 47 : Introducing Dynamic HTML. .. 337 338 338 339 340 341 341 342 342 343 343 344 345 346 346 347 Chapter 31: Adding Fonts 349 Introducing Fonts Font families Fonts versus the image of fonts Using Local Fonts Font-Selection Considerations ... 43 3 43 3 43 6 43 7 43 8 43 8 43 9 43 9 44 0 44 0 44 0 44 0 44 1 44 2 44 2 44 3 44 4 Chapter 38: Creating Animated Graphics for the Web 44 5 Introducing Animated GIFs ... 41 1 41 2 41 2 41 4 41 4 41 4 41 5 41 6 41 7 41 9 42 1 42 2 42 3 42 3 42 4 42 4 xxix 347 3 -4 FM.f.qc xxx 7/25/00 15:13 Page xxx Contents Providing Navigational... 47 9 48 0 48 2 48 2 48 3 48 4 48 5 48 5 48 6 48 7 48 7 48 8 48 9 48 9 49 0 49 1 49 1 49 2 49 2 Chapter 43 : Adding Java Applets 49 5 Introducing Java