Dreamweaver
MX 2004
Solutions
This page intentionally left blank
Dreamweaver MX 2004 Solutions
®
E t h a n Wa t r a l l
San Francisco • London
Associate Publisher: DAN BRODNITZ
Acquisitions Editor: MARIANN BARSOLO
Developmental Editor: PETE GAUGHAN
Production Editor: ERICA YEE
Technical Editor: DENISE TYLER
Copyeditor: JUDY FLYNN
Compositor: MAUREEN FORYS, HAPPENSTANCE TYPE-O-RAMA
Proofreaders: LAURIE O’CONNELL, AMY RASSMUSSEN, NANCY RIDDIOUGH
Indexer: TED LAUX
Book Designer: FRANZ BAUMHACKL
Cover Designer: JOHN NEDWIDEK, EMDESIGN
Cover Illustration: JOHN NEDWIDEK, EMDESIGN
Copyright © 2004 SYBEX Inc., 1151 Marina Village Parkway, Alameda, CA
94501. World rights reserved. The author(s) created reusable code in this publica
tion expressly for reuse by readers. Sybex grants readers limited permission to reuse
the code found in this publication or its accompanying CD-ROM so long as the
author(s) are attributed in any application containing the reusable code and the
code itself is never distributed, posted online by electronic transmission, sold, or
commercially exploited as a stand-alone product. Aside from this specific exception
concerning reusable code, no part of this publication may be stored in a retrieval
system, transmitted, or reproduced in any way, including but not limited to photo
copy, photograph, magnetic, or other record, without the prior agreement and writ
ten permission of the publisher.
Library of Congress Card Number: 2003115544
ISBN: 0-7821-4299-0
SYBEX and the SYBEX logo are either registered trademarks or trademarks of
SYBEX Inc. in the United States and/or other countries.
The CD interface was created using Macromedia Director, COPYRIGHT 1994,
1997-1999 Macromedia Inc. For more information on Macromedia and Macrome
dia Director, visit http://www.macromedia.com.
Screen reproductions produced with RoboScreenCapture™.
RoboScreenCapture™ is a trademark of eHelp Inc.
Netscape Communications, the Netscape Communications logo, Netscape, and
Netscape Navigator are trademarks of Netscape Communications Corporation.
Netscape Communications Corporation has not authorized, sponsored, endorsed,
or approved this publication and is not responsible for its content. Netscape and
the Netscape Communications Corporate Logos are trademarks and trade names of
Netscape Communications Corporation. All other product names and/or logos are
trademarks of their respective owners.
TRADEMARKS: SYBEX has attempted throughout this book to distinguish propri
etary trademarks from descriptive terms by following the capitalization style used
by the manufacturer.
The author and publisher have made their best efforts to prepare this book, and the
content is based upon final release software whenever possible. Portions of the
manuscript may be based upon pre-release versions supplied by software manufac-
turer(s). The author and the publisher make no representation or warranties of any
kind with regard to the completeness or accuracy of the contents herein and accept
no liability of any kind including but not limited to performance, merchantability,
fitness for any particular purpose, or any losses or damages of any kind caused or
alleged to be caused directly or indirectly from this book.
Manufactured in the United States of America
10 9 8 7 6 5 4 3 2 1
Software License Agreement: Terms and Conditions The media and/or any online materials accompanying this book that are available now or in the future contain programs and/or text files (the “Software”) to be used in connection with the book. SYBEX hereby grants to you a license to use the Soft ware, subject to the terms that follow. Your purchase, acceptance, or use of the Software will constitute your acceptance of such terms. The Software compilation is the property of SYBEX unless otherwise indi cated and is protected by copyright to SYBEX or other copyright owner(s) as indi cated in the media files (the “Owner(s)”). You are hereby granted a single-user license to use the Software for your personal, noncommercial use only. You may not reproduce, sell, distribute, publish, circulate, or commercially exploit the Soft
ware, or any portion thereof, without the written consent of SYBEX and the spe cific copyright owner(s) of any component software included on this media. In the event that the Software or components include specific license require ments or end-user agreements, statements of condition, disclaimers, limitations or warranties (“End-User License”), those End-User Licenses supersede the terms and conditions herein as to that particular Software component. Your purchase, accept ance, or use of the Software will constitute your acceptance of such End-User Licenses. By purchase, use or acceptance of the Software you further agree to comply with all export laws and regulations of the United States as such laws and regula tions may exist from time to time. Software Support Components of the supplemental Software and any offers associated with them may be supported by the specific Owner(s) of that material, but they are not sup ported by SYBEX. Information regarding any available support may be obtained from the Owner(s) using the information provided in the appropriate read.me files or listed elsewhere on the media. Should the manufacturer(s) or other Owner(s) cease to offer support or decline to honor any offer, SYBEX bears no responsibility. This notice concerning support for the Software is provided for your information only. SYBEX is not the agent or principal of the Owner(s), and SYBEX is in no way responsible for provid ing any support for the Software, nor is it liable or responsible for any support pro vided, or not provided, by the Owner(s). Warranty SYBEX warrants the enclosed media to be free of physical defects for a period of ninety (90) days after purchase. The Software is not available from SYBEX in any other form or media than that enclosed herein or posted to www.sybex.com. If you discover a defect in the media during this warranty period, you may obtain a replacement of identical format at no charge by sending the defective media, postage prepaid, with proof of purchase to: SYBEX Inc.
Product Support Department
1151 Marina Village Parkway
Alameda, CA 94501
Web: http://www.sybex.com
After the 90-day period, you can obtain replacement media of identical for mat by sending us the defective disk, proof of purchase, and a check or money order for $10, payable to SYBEX. Disclaimer SYBEX makes no warranty or representation, either expressed or implied, with respect to the Software or its contents, quality, performance, merchantability, or fit ness for a particular purpose. In no event will SYBEX, its distributors, or dealers be liable to you or any other party for direct, indirect, special, incidental, consequen tial, or other damages arising out of the use of or inability to use the Software or its contents even if advised of the possibility of such damage. In the event that the Software includes an online update feature, SYBEX further disclaims any obligation to provide this feature for any specific duration other than the initial posting. The exclusion of implied warranties is not permitted by some states. There fore, the above exclusion may not apply to you. This warranty provides you with specific legal rights; there may be other rights that you may have that vary from state to state. The pricing of the book with the Software by SYBEX reflects the allocation of risk and limitations on liability contained in this agreement of Terms and Conditions. Shareware Distribution This Software may contain various programs that are distributed as shareware. Copyright laws apply to both shareware and ordinary commercial software, and the copyright Owner(s) retains all rights. If you try a shareware program and con tinue using it, you are expected to register it. Individual programs differ on details of trial periods, registration, and payment. Please observe the requirements stated in appropriate files. Copy Protection The Software in whole or in part may or may not be copy-protected or encrypted. However, in all cases, reselling or redistributing these files without authorization is expressly forbidden except as specifically provided for by the Owner(s) therein.
For my son, Sam, with all the love in the world that a father can give
Acknowledgments Any book (large or small) is the product of not only the author, but also a host of other people working behind the scenes whose presence (either directly or indirectly) helps bring the project to fruition. This book is hardly any different. At Sybex, special thanks to Erica Yee and Pete Gaughan. This book was delayed slightly as I finished the other Sybex book I was writing at the time, and both Erica and Pete were incred ibly tolerant and understanding during the process. Kudos to my technical editor, Denise Tyler, for all her help and great suggestions. As always, I must express my profound thanks and gratitude to Mariann Barsolo, my acquisitions editor, who was phenomenally helpful throughout this project—as she has always been. Also, many thanks to Dan Brodnitz, associate publisher at Sybex, who championed this book and who, with the help of Mariann Barsolo, made sure that I was given the time to write the best book possible without sacrificing my other literary obligations. Many thanks to my agent, David Fugate of Waterside Productions. I am forever in his debt for all the work, help, and wonderful advice he gave during this project. I certainly hope I’ll have his wise counsel for years to come. I must offer my gratitude to all the people who kindly let me use screen shots from their own digital creations for the book’s color insert. I thank my friend (and co-conspirator) Norb Herber. Besides offering the usual helpful suggestions, he also selflessly took on many of the little “end of project” responsibilities for our book Flash MX 2004 Savvy so that I could focus on this book. Thanks to my dad, who, besides lots of encouragement and thoughtful advice, still never asks what an archaeologist was doing writing a book about web design. Thanks also to my mom for her support during the project. My love and thanks to my daughter, Taylor. All of my love to my wife, Jenn, without whose unwavering support I wouldn’t be able to manage sitting in front of a com puter, day after day, pounding away at the keyboard. Finally, my sincere apologies to anyone whom I managed to forget. Thanks, everybody!
This page intentionally left blank
Dear Reader
Thank you for choosing Dreamweaver MX 2004 Solutions. This book is part of a new wave of Sybex graphics books, all written by outstanding authors—artists and teachers who really know their stuff and have a clear vision of the audience they’re writing for. Founded in 1976, Sybex is the oldest independent computer book publisher. More than twenty-five years later, we’re committed to producing a full line of consistently excep tional graphics books. With each title, we’re working hard to set a new standard for the industry. From the paper we print on, to the writers and photographers we work with, our goal is to bring you the best graphics books available. I hope you see all that reflected in these pages. I’d be very interested to hear your comments and get your feedback on how we’re doing. To let us know what you think about this or any other Sybex book, please visit us at www.sybex.com. Once there, go to the product page, click on Submit a Review, and fill out the questionnaire. Your input is greatly appreciated. Please also visit www.sybex.com to learn more about the rest of our growing graph ics line. Best regards,
DAN BRODNITZ Associate Publisher Sybex Inc.
Contents
Introduction
Chapter 1
The Path to Harmonious Web Usability and Design
xvii
1
Preparing Your Site . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Creating Your Site’s Information Design and Architecture Developing a Visual Metaphor Conceptualizing a Site’s Layout and Design with Storyboards
2
4
5
Designing Effective Web Pages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Minimizing Response Times Writing for the Web
7
9
Getting from Here to There: Developing Intuitive Navigation . . . . . . 13
CONTENTS ■
viii
Chapter 2
Keeping Navigation Consistent Help Users Quickly Learn Your Navigation Scheme Providing Clear and Obvious Visual Cues Multiple Roads from Here to There
14
16
17
21
Laying the Groundwork
23
Choosing the Workspace That’s Best for You . . . . . . . . . . . . . . . . . . 24 Customizing Your Workspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Customizing Panels Customizing Keyboard Shortcuts Customizing the Ruler and Grids
27
31
33
Adjusting Document Window Size and Checking Page
Download Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Checking Document Size and Download Time
37
Using a Browser to Preview Your Work . . . . . . . . . . . . . . . . . . . . . . 38 Adding a Target Browser Editing Your Browser List Launching Your Target Browser
39
40
41
Creating and Managing New Documents . . . . . . . . . . . . . . . . . . . . . 41 Changing the Default Document Type Changing the Default Document Encoding
42
43
The Fine Art of Local Sites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 Creating a Local Site Manually Creating a Local Site with the Site Definition Wizard Visualizing Your Local Site with a Site Map Layout Editing or Deleting an Existing Site Exporting and Importing an Existing Site
44
46
48
53
53
Setting Page Properties. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 Giving Your Page a Title Changing the Background Color Adding a Background Image to Your Page Setting Your Page’s Text Properties Setting Your Page’s Hyperlink Properties Using a Tracing Image
54
55
57
58
59
60
The Last Step: Saving Your Document . . . . . . . . . . . . . . . . . . . . . . . 62
Chapter 3
Communicating Effectively with Text
63
Creating and Styling Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 Varying Your Page’s Text Size Changing Your Page’s Text Color Altering Your Page’s Font Changing Local Text Formatting Selecting a CSS Text Style
64
65
66
68
68
Aligning and Indenting Paragraphs. . . . . . . . . . . . . . . . . . . . . . . . . . 69 Formatting Horizontal Rules
71
Organizing Text with Lists. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 Creating an Ordered (Numbered) List from Scratch Creating an Ordered (Numbered) List from Existing Text Creating an Unordered (Bulleted) List Creating a Definition List Changing How Your List Looks
72
72
73
73
74
Inserting Characters That Aren’t on Your Keyboard . . . . . . . . . . . . . 75 Adding a Date to Your Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 Avoiding Typos with the Spellchecker. . . . . . . . . . . . . . . . . . . . . . . . 78 Adding Pizzazz with Flash Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Chapter 4
Working with Images
81
Selecting the Image Format That’s Right for You . . . . . . . . . . . . . . . 82 Inserting Images into Your Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 Inserting Image Placeholders
83
Aligning Images. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 Aligning Images in Relation to Text
85
Changing the Size of Images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 Resizing Images Resetting Images to Original Size
89
90
Making Images Accessible with the alt Tag . . . . . . . . . . . . . . . . . . . . 90 Integrating Low Source Images for Low-Bandwidth Users . . . . . . . . . 91 Adding Borders around Images . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
ix ■ CONTENTS
Breaking Up Text with Horizontal Rules . . . . . . . . . . . . . . . . . . . . . 70
Editing Images in Dreamweaver MX 2004 . . . . . . . . . . . . . . . . . . . . 92 Cropping Images Resampling Images Adjusting Image Brightness/Contrast Sharpening Images
93
94
95
95
Using an External Image Editor from Dreamweaver . . . . . . . . . . . . . 96 Defining an External Image Editor Launching an External Image Editor
97
98
Optimizing Images in Fireworks. . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Chapter 5
Creation and Care of Hyperlinks
101
Creating Links. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 Creating Text Links Creating Image Links Removing the Border from Linked Images Using the Point to File Icon to Create Links
102
105
106
107
Using Named Anchors to Link to Points on a Page . . . . . . . . . . . . . 108
x CONTENTS ■
Linking to Another Location on the Same Page Linking to a Location within Another Page
108
110
Defining Where Linked Files Load . . . . . . . . . . . . . . . . . . . . . . . . . 111 Creating E-Mail Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 Creating E-Mail Links with a Subject Line, CC, BCC, and Even Message Text
113
Adding Image Maps to Your Pages. . . . . . . . . . . . . . . . . . . . . . . . . 114 Defining Hotspots Adding the Image Map Links
115
116
Building Jump Menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 Editing Jump Menus
118
Adding Flash Buttons to Your Pages. . . . . . . . . . . . . . . . . . . . . . . . 119
Chapter 6
Laying Out Tables and Frames
123
Adding Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 Adding Tables in Standard View Adding Tables in Layout View
124
127
Manipulating Table Size and Shape . . . . . . . . . . . . . . . . . . . . . . . . 128 Configuring Rows and Columns Combining and Splitting Table Cells Changing Table Dimensions Aligning Tables to the Page
128
130
131
133
Manipulating Layout Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133 Drawing Layout Cells Resizing and Moving Layout Cells Making Columns Autostretch Using Spacer Images with Autostretch
134
135
136
138
Using Spacer Images without Autostretch Removing Spacer Images
139
139
Manipulating Table Contents and Appearance . . . . . . . . . . . . . . . . 140 Adding Content to Table Cells Aligning Content within Table Cells Arranging Content with Cell Padding and Cell Spacing Changing Table Border Thickness Changing Table Border Color Changing Table Background Color Changing Cell Background Color Adding a Table Background Image
140
141
142
142
143
144
144
145
Importing Tabular Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145 Creating and Manipulating Frames Pages . . . . . . . . . . . . . . . . . . . . 147 Creating a Frames Document by Splitting Creating a Frames Document from a Preset Layout Nesting Frames Changing Frame Sizes Deleting Frames
147
150
153
153
154
Naming Frames Changing the Source of a Frame Turning Frame Borders On and Off Changing Frame Border Color Creating Non-Resizable Frames Making Frames Scrollable
155
156
157
158
159
159
Working with Framesets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161 Making Borders Visible or Invisible Setting Frameset Border Thickness Changing Frameset Border Color
162
163
163
Linking to Specific Frames with Targets . . . . . . . . . . . . . . . . . . . . . 164 Saving Frames Pages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165 Creating Content for Browsers That Don’t Support Frames. . . . . . . 166
Chapter 7
Using Templates, Library Items, and Digital Assets
169
Managing Digital Assets with the Assets Panel . . . . . . . . . . . . . . . . 170 Adding Assets to Your Page Working with the Favorites List Editing Assets
170
172
174
Making and Editing Templates. . . . . . . . . . . . . . . . . . . . . . . . . . . . 175 Creating Templates from Scratch Creating Templates from Existing Documents Adding Editable Regions to Templates Adding Optional Regions to Templates Adding Repeating Regions or Tables Making Specific Tag Attributes Editable in a Template
176
177
179
180
181
183
■ CONTENTS
Editing Individual Frames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
xi
Changing the Template Region Highlight Colors Editing Existing Templates
184
185
Saving and Managing Templates . . . . . . . . . . . . . . . . . . . . . . . . . . 185 Renaming Templates Deleting Templates Copying Templates to Another Local Site
186
187
187
Using Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188 Applying Templates to Blank Pages Creating Template-Based Pages from Scratch Applying Templates to Pages with Existing Content Detaching Pages from Templates
188
188
189
190
Creating and Manipulating Library Items . . . . . . . . . . . . . . . . . . . . 190 Making Library Items from Scratch Turning Existing Page Elements into Library Items Renaming Library Items Editing Library Items Deleting Library Items Copying Library Items to Another Local Site Changing the Library Item Highlight Color
CONTENTS ■
xii
192
193
194
194
195
196
196
Applying Library Items to a Page . . . . . . . . . . . . . . . . . . . . . . . . . . 197
Chapter 8
Detaching Items from the Library
198
Adding Multimedia
199
Adding Flash Movies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200 Changing Flash Movie Dimensions Setting a Flash Movie’s Background Color Changing a Flash Movie’s Quality Altering a Flash Movie’s Scale Aligning Flash Movies to the Page or to Text Making Flash Movies Loop and Play Automatically Previewing Flash Movies from within the Document Window
202
204
204
205
206
206
207
Adding Shockwave Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207 Adding Java Applets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209 Setting an Applet’s Alt Image or Text
211
Adding Multimedia That Requires a Netscape Plug-In . . . . . . . . . . 211 Adding a Plug-In URL Adding a Border Previewing Netscape Plug-In Media from within the Document Window
213
213
213
Adding Multimedia That Requires an Internet Explorer ActiveX Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214 Setting an ActiveX Control’s Class ID Setting an ActiveX Control’s CodeBase Setting a File’s Path Making ActiveX Control Media Accessible by Netscape Adding an Alt Image
215
216
217
218
218
Chapter 9
Adding Interactivity to Your Site with JavaScript Behaviors
221
The Tao of Behaviors: Adding, Deleting, and Changing. . . . . . . . . . 222 Adding Behaviors to Your Page Changing Behavior Properties Deleting Behaviors Changing the Order in Which Behaviors Execute
223
225
226
226
Creating Interactivity with the Built-In Behaviors . . . . . . . . . . . . . . 227
Chapter 10 Formatting with CSS and Layers
227
228
229
231
232
235
236
237
238
238
239
240
242
243
244
245
247
253
Understanding Cascading Style Sheets . . . . . . . . . . . . . . . . . . . . . . 254 Understanding Styles and Their Attributes . . . . . . . . . . . . . . . . . . . 256 Type Background Block Box Border List Positioning Extensions
257
258
260
261
263
264
265
265
Creating Styles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266 Defining Style Classes Changing HTML Tags Redefining Hyperlink Properties with Contextual Selectors
266
268
269
Working with External Style Sheets . . . . . . . . . . . . . . . . . . . . . . . . 270 Creating External Style Sheets Linking to External Style Sheets
271
272
Applying Styles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272 Removing Styles
273
xiii ■ CONTENTS
Calling JavaScript Code Checking the User’s Browser for a Plug-in Checking the Version of the User’s Browser Dynamically Controlling Flash or Shockwave Files in Your Page Making Layers Draggable Opening Multiple URLs with a Single Click Opening Custom Browser Windows Playing Sound Files Creating Pop-Up Messages Preloading Images Changing the Text of the Browser Status Bar Dynamically Changing Frame or Layer Contents Changing the Text of Text Fields Dynamically Controlling Layer Visibility Validating Forms Creating Rollovers Creating Pop-Up Menus
Editing Styles Using Premade Style Sheets
274
275
Understanding Layers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276 Creating Layers Adding Content to Layers Selecting Layers Deleting Layers Resizing Layers Moving Layers Changing Layer Background Color or Image Setting Layer Overflow Controlling Layer Visibility Setting Layer Clipping Area
276
279
279
280
280
281
282
282
283
285
Arranging Layers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285
CONTENTS ■
xiv
Naming Layers with the Layers Panel Preventing Layer Overlap Setting Layer Stacking Order Nesting Layers
Chapter 11 Managing and Publishing Your Site
286
286
287
287
289
Manipulating Local Sites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290 Opening Files from within the Files Panel Creating New Documents from within the Files Panel Creating New Folders in Your Site Moving Files While Maintaining Links Checking Links Sitewide Fixing Broken Links
290
291
293
294
296
298
Using the Find and Replace Function . . . . . . . . . . . . . . . . . . . . . . . 299 Searching for Text Saving and Loading Searches
300
302
Manipulating Remote Sites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302 Setting Up a Remote Site Connecting to a Remote Site Uploading to a Remote Site Downloading from a Remote Site Checking Files In and Out of a Remote Site Synchronizing Files between a Local and Remote Site Refreshing a Remote Site
303
307
308
309
310
313
314
Creating a Site-less Connection to a Remote Site. . . . . . . . . . . . . . . 315 Communicating with Design Notes . . . . . . . . . . . . . . . . . . . . . . . . 317 Configuring Design Notes Creating Design Notes Viewing Design Notes
318
319
320
Cloaking Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320 Enabling Cloaking Cloaking Site Folders
320
321
Chapter 12 Handcrafting Code in Dreamweaver
323
Viewing and Navigating Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324 Viewing Code Selecting HTML Tags with the Tag Selector Color Coding Your HTML Determining How Code is Displayed Searching Code with Find and Replace
324
326
327
329
330
Creating and Editing Code. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334 Inserting and Editing Code in Design View Using Code Hints Editing Attributes with the Tag Inspector Adding Content to the Section of Your Document Inserting HTML Tags with the Tag Chooser Working with Snippets
334
335
337
339
345
347
Checking Your Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 350 Cleaning Up Your HTML Validating HTML Getting Help with HTML Syntax
350
352
353
Creating XHTML Documents Converting HTML Documents to XHTML Validating XHTML Documents
Chapter 13 Extending Dreamweaver
355
355
356
357
Automating Tasks with Commands . . . . . . . . . . . . . . . . . . . . . . . . 358 Creating Commands Renaming or Deleting Commands
358
360
Extending Dreamweaver with Extensions . . . . . . . . . . . . . . . . . . . . 360 Changing the Dreamweaver Interface . . . . . . . . . . . . . . . . . . . . . . . 363 Manipulating the Main Program Menu Reorganizing Objects in the Insert Bar Adding an Object to the Insert Bar That Runs a Command Changing Dreamweaver Dialog Boxes
Chapter 14 Collecting User Information with Forms
363
367
368
370
373
Inserting Forms and