You can also use the WordPad to quickly modify webpages.

Source: Internet
Author: User
Many of the components that come with Windows may sometimes be used by other avant-garde software. For example, if the path of an element that has been referenced on a page or the path of the target file of the hyperlink is changed as needed, the elements related to the path are no longer displayed, and the target file of the link cannot be opened. You have to modify the relevant path on the page! At this time, the "replace all" command of the WordPad Windows component is very useful.

Assume that a directory (such as img) is added to the directory where a page is located, and all the elements and subdirectories except this page have been transferred to img, this page can be modified quickly.

1. After opening the Windows WordPad program window, execute the "file/open" command to bring up the "open" dialog box window.

2. Use "search" to find the Directory of the webpage you want to open for modification, but the webpage you want to open is not displayed in the middle form. Because the default open file type of Windows WordPad is "*. txt, so you also need to open the "file type" list and select "all documents (*. *) ". Then, find the webpage you want to modify from the list of all documents in the intermediate form and open it.

3. Execute the "edit/replace" command (as shown in Figure 1) in the Windows WordPad program window that is then returned ). First, enter the original directory of the element (such as web01) in the "search content" input box ); in the "replace with" input box, enter the directory path after your change (my original image directory "img/" sub-directory has been changed to "web01/img /"); click "replace all" and click "OK". The document search dialog box is displayed.




<

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.