Most designers are just as particular about the way their code looks as they are about the way their page looks. Good thing Dreamweaver offers a tremendous degree of control toward shaping your code just the way you like it.
The basic option, Apply Source Formatting, is found under the Command menu and reformats all the code in your page according to your Preference settings where you can specify elements such as indent, tab size, automatic wrapping, and more.

There are, however, times when you don’t want to reformat the entire page but rather just a section. For these situations, highlight the unsightly code and choose Commands > Apply Source Formatting to Selection. Your code will be ship-shape in no time.





Thanks for this very useful tip.
-Deepu
Your welcome! Glad you enjoyed it
Thanks.
BTW
Why is it that this kind of info is easier to find on sites like this than in the ‘not-so-online’ and online adobe sites?
I have read a few excellent stuff here. Certainly price bookmarking for revisiting. I surprise how much effort you place to create any such fantastic informative web site.