Cleaning up your code

Dreamweaver can automatically remove empty tags, combine nested font tags, and otherwise improve messy or unreadable HTML or XHTML code.

For information on how to clean up HTML generated from a Microsoft Word document, see Opening existing documents.

To clean up the code:

  1. Open a document:
  2. In the dialog box that appears, select any of the options.

    For more information, see Setting the Clean Up HTML dialog box options.

  3. Click OK.

    Depending on the size of your document and the number of options selected, it may take several seconds to complete the cleanup.

Related topics