1 / 8

Dreamweaver MX

Dreamweaver MX. Lesson 14: Using Find and Replace. Searching the Document (p. 428). With Dreamweaver, you can find and replace text, HTML tags, and even _________ of tags. To find and replace text, open a document. Select Edit > Find and Replace .

Download Presentation

Dreamweaver MX

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Dreamweaver MX Lesson 14: Using Find and Replace

  2. Searching the Document (p. 428) • With Dreamweaver, you can find and replace text, HTML tags, and even _________ of tags. • To find and replace text, open a document. • Select Edit > Find and Replace. • Choose Current Document in the Find In list and Text in the Search For list. • In the Search For text field, enter the desired text. In the Replace With text field, enter the new text. • Click Find All. In the Results window, click the _______ arrow. Select Replace All, OK.

  3. Removing HTML Tags (p. 430) • You may wish to remove certain tags from a document in order to format a page with _____. • In a document, click Show Code and Design Views, move the cursor at the top of the code. • Select Edit > Find and Replace. • Change Search For to Specific Tag. Select the desired tag from the list. • To ignore attributes, click the – sign button. Otherwise, select the attribute and ______. • Select Strip Tag from the Action list. Uncheck the three additional options. • Click Replace All, OK; close Results window.

  4. Applying a Custom Style (p. 435) • Remember that a custom style is one you create by giving it a name following a _______. • The text to which you apply the custom style uses the attribute _______=“name” with the appropriate tag. • To apply a custom style throughout a document, apply the style once in the document. • Select Edit > Find and Replace. Change Search For to Source Code and enter text in the field. • Copy the HTML code for the style from the Code View, paste it in the Replace With field. • Click Replace All, OK.

  5. Linking External Style Sheets (p. 438) • You may need to add a style sheet to dozens of pages in a site (make sure all are _________). • For Windows users, first open a document. • Select Edit > Find and Replace. • Select ________ in the Find In list. Click the folder icon, find the folder containing the files, and double-click it, click Select. • Select Source Code in the Search For list. • Type _______ in the Search For text box. • Type <link href=“<stylesheet name>” rel=“stylesheet” type=“text/css”></head> in the Replace With text box, click Replace All.

  6. Saving and Reusing Search Criteria (p. 441) • A saved search criteria is called a ________. • After creating a search criteria, click the Save Query icon in the Find and Replace box. • Open the web site folder, enter the name of the query file (.dwq or _____ extension is added automatically), click Save. • In the Find and Replace box, click the Load Query icon. • In the Find In list, choose Select Files in Site. • In the Site panel, select the files to be changed. • Click Replace All. Close the Results panel.

  7. Using Regular Expressions (p. 443) • You may want to search for certain patterns in text to make changes. • To find all dates in a page from 1700 to 1799, select Edit > Find and Replace. • Select Current Document in the Find In list. • Select Source Code in the Search For list. • Type (17\d\d) in the Search For box (“d” is a special character that stands for a ______, and must be preceded by a “\”). See Appendix A. • Type <b>___</b> in the Replace With box, which will bold regular expression number 1. • Check the Regular Expressions box, click Replace All.

  8. Finding Text Variations (p. 446) • You may want variations in text to be more consistent (e.g., using California instead of CA, Ca, ca, or california). • Select Edit > Find and Replace. • Select Text in the Search For list. • Type Ca\w* in the Search For box (w stands for any _____________, * for any number of characters). • Check the Use Regular Expressions box. • Type California in the Replace With box. • Click Find Next and Replace as appropriate.

More Related