How to Use the Clean-Up HTML Command With Dreamweaver
Use the Clean Up HTML command in Macromedia Dreamweaver 3.0 to remove extraneous tags and streamline your HTML code.
Instructions
-
-
1
Start the Dreamweaver program and open the Web page you want to edit.
-
2
Open the Command menu and choose Clean Up HTML.
-
-
3
Choose your options (see Tips for more information about the available options) and click OK.
-
4
Add a specific tag to be cleaned up using the Add Specific Tag designation. Check the box and type the tag to be removed.
-
5
Make sure the Combine Nested Tags option is checked. This combines all of the tags for one formatting option (for example, all formatting properties, such as font size, color and bold will be located within the same tag).
-
6
To see a detailed report of the changes made, make sure the Show Log on Completion box is checked.
-
7
Click OK. The process may take several minutes.
-
1
Tips & Warnings
Remove Empty Tags deletes tags that have nothing between them, such as text or images.
Remove Redundant Nested Tags removes tags that are not necessary.
Remove Non-Dreamweaver HTML Comments removes all comments not put in using the Dreamweaver program. Remove Dreamweaver HTML Comments removes all comments inserted using Dreamweaver. You must choose both options to remove all comments.
Some proprietary tags, such as those used by certain FrontPage "bots," are required to make certain components on a page run. For testing results, make a copy of the page before you edit it; if the component doesn't work, you can reference the older copy's HTML code.