Macromedia dreamweaver 8-using dreamweaver User Manual

Page of 1030
Searching and replacing tags and attributes
571
Searching for tags, attributes, or text contained in 
specific tags
You can search for specific tags, attributes, and attribute values. For example, you can search 
for all 
img
 tags that have no 
alt
 attribute. 
You can also search for specific text strings that are either within or not within a set of 
container tags. For example, you can search for the word 
Untitled
 contained in a 
title
 tag 
to find all the untitled pages on your site. 
To search for tags, attributes, or text in code:
1.
Open the document to search in, or select documents or a folder in the Files panel.
2.
Select Edit > Find and Replace. 
The Find and Replace dialog box appears. 
3.
Specify which files to search in, then specify the kind of search you want to perform, and 
text or tags to search for. Optionally, specify replacement text as well. Then click one of the 
Find buttons or one of the Replace buttons.
For more information, click the Help button.
4.
When you’re done, click the Close button to dismiss the dialog box.
To search again without displaying the Find and Replace dialog box:
Press F3 (Windows) or Command+G (Macintosh).
Related topics
Saving search patterns
You can save a search pattern and reuse it later. 
To save a search pattern:
1.
In the Find and Replace dialog box (Edit > Find and Replace), set the parameters for the 
search.
If you are performing a tag or advanced text search, see 
 for information about setting additional 
search parameters.
2.
Click the Save Query button (the disk icon).