This browser does not support basic Web standards, preventing the display of our site's intended design. May we suggest that you upgrade your browser?

Adobe Dreamweaver CS3

Finding and Replacing HTML Tags

Dreamweaver's Find and Replace tool allows you to search for HTML tags and their attributes and make changes to them within the document you are working on, within selected documents, or throughout your website. This document discusses how to find and replace an HTML tag and its attributes. This page uses the example of changing the color used to emphasize text.

  1. From the Edit menu, select Find and Replace...
    Press [Ctrl + [F]
    The Find and Replace dialog box appears.
    Find and Replace dialog box

  2. From the Find in pull-down list, select an area to search
    NOTE: For a description of these options, see Where You Can Search: Find In Options.
    EXAMPLE: Select Entire Current Local Site

  3. From the Search pull-down list, select Specific Tag
    Find and Replace dialog box: specific tag

  4. From the Specific Tag pull-down list, select the tag you are searching for
    EXAMPLE: Select font

  5. To further define your search, clickAdd buttonand use the pull-down lists to set conditions
    EXAMPLE: Select With Attribute, color, =, 800000
    We have specified that we are looking for all font tags where the color attribute is equal to #800000.

  6. To specify the changes to be made, use the Action pull-down lists
    EXAMPLE: Select Set Attribute, color, CC9900
    We have specified that the color attribute should be set to CC9900.

  7. OPTIONAL: From Options, select the options appropriate to your search
    EXAMPLE: Select Ignore whitespace
    Example of Find and Replace dialog box: specific tag

  8. Click FIND NEXT
    The first occurrence of the information searched for is identified.

    Use the Replace option to replace each occurrence of the information individually. Use the Find Next option to review additional occurrences.
    WARNING: Use the Replace All option with caution. This option will replace your specified information throughout the entire document(s).

  10. To close the Find and Replace dialog box, click CLOSE

Using Find Next

If you do not wish to replace a specific occurrence within your search, use Find Next. This option allows you to pass over an individual occurrence of your search and automatically locate the next one.

  1. From the Edit menu, select Find Next
    Press [F3]

Excellence. Our Measure. Our Motto. Our Goal.