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.
For an XHTML document, the Clean Up XHTML command fixes XHTML syntax errors, sets the case of tag attributes to lowercase, and adds or reports the missing required attributes for a tag in addition to performing the HTML cleanup operations.
For more information, see Setting the Clean Up HTML dialog box options.
Depending on the size of your document and the number of options selected, it may take several seconds to complete the cleanup.