Editing HTML in Dreamweaver > Cleaning up HTML source code > Formatting the HTML source code in existing documents

 

Formatting the HTML source code in existing documents

The HTML source formatting options that you specify in HTML Format preferences and the SourceFormat.txt file apply only to any subsequent new documents that you create with Dreamweaver. To apply these formatting options to existing HTML documents, use the Apply Source Formatting command.

To apply HTML source formatting options to an existing document:

1 Choose File > Open to open an existing HTML file in the Document window.
2 Choose Commands > Apply Source Formatting.