Sometimes you need to change just the text contained
within the
tag and leave all other matching text alone.
n You can search for specific HTML tags and/or their attributes. Dreamweaver??™s Find and Replace
feature gives you the capability to insert, delete, or modify tags and attributes.
Looking for text in the code
Text that appears onscreen is often replicated in various sections of your off-screen HTML code. It??™s not
uncommon, for example, to use the alt attribute in an
tag that repeats the caption under the picture.
What happens if you replace the wording using the Find and Replace dialog box with the Search field
set to Text? You??™re still left with the task of tracking down the alt attribute and making that change as well.
Dreamweaver enables you to act on both content and programming text in one operation??”a major savings
in time and effort, not to mention aggravation.
TIP TIP
264
Designing and Crafting Core Pages Part II
Storing and Retrieving Queries
Dreamweaver enables you to develop extremely complex search queries. Rather than forcing you to
repeatedly re-enter Find and Replace queries, Dreamweaver enables you to save and load them when
needed. Dreamweaver saves the queries with a .dwr file extension.
To save a query, select the Diskette icon on the Find and Replace dialog box.
Pages:
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555