How To

How to Use the Clean-Up HTML Command With Dreamweaver

Contributor
By eHow Contributing Writer
(5 Ratings)

Use the Clean Up HTML command in Macromedia Dreamweaver 3.0 to remove extraneous tags and streamline your HTML code.

Difficulty: Moderate
Instructions

Things You'll Need:

  1. Step 1

    Start the Dreamweaver program and open the Web page you want to edit.

  2. Step 2

    Open the Command menu and choose Clean Up HTML.

  3. Step 3

    Choose your options (see Tips for more information about the available options) and click OK.

  4. Step 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. Step 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. Step 6

    To see a detailed report of the changes made, make sure the Show Log on Completion box is checked.

  7. Step 7

    Click OK. The process may take several minutes.

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.

Post a Comment

Post a Comment
  • Have you done this? Click here to let us know.
I Did This

Related Ads

Internet
Virginia DeBolt,

Meet Virginia DeBolt eHow's Internet Expert.

Get Free Internet Newsletters

Copyright © 1999-2009 eHow, Inc. Use of this web site constitutes acceptance of the eHow Terms of Use and Privacy Policy.   en-US

Demand Media
eHow_eHow Technology and Electronics