White space
Or simply add in the textbox how much space you want when the html is getting formatted

Other options

Typps Html Format filter

NOTE: To see the transformation, you have to viewsource the page and look at the rendered html output. Infact a default filter has already been applied and you can already viewsource to notice how the html of this page is will formatted and how all scripts have been moved to the end of the file. Use the commands above to change the default selections and apply a new filter.

This Html format filter is an extention of the built in html code parser that allows exclusion of html elements based on a black list created by the developer, a new feature in the HTML editor and it is triggered when the ElementsAllowed collection is filled with elements that the developer decides as valid markup, while everything else gets stripped off.

The same Html code parser can be used as an Html Format filter as seen here in this demo.

In fact the setup is quite simple. What follows is all the code you need to write to enable this fast, forward only, http filter :

                HttpFormatFilter hff = new HttpFormatFilter(Response.Filter, tabspace, concatScriptBlocks, removeAllFormatting);
                Response.Filter = hff;
            

You end up with properly formatted html if you like your viewsource to be properly formatted otherwise, you can strip out whitespace, or even move all your script tags to the bottom of the page, in this way you enable a faster loading page to your users since the html loads first, then the script files will follow. Properly formatting eliminates excessive whitespaces in the markup, while making the viewsource of your pages readable.

Make sure you test well if this filter works well on your pages as html unlike xml is unpredictable. So what ever floats our boat doesn't necessarily mean it won't tip over someone elses. In case you find a bug, report it.

This filter is particularly useful if you have a cms that outputs a lot of dynamic content and thus having plenty of blank space in between tags within the markup. Or perhaps you just want to showoff a nicely formatted output? Why not, this is a simple setting you can make use of from within your global.asax handler for all your pages. Completely eliminating white space is also a good saving on heavily trafficked websites. Google does this and so does msn portal, yahoo etc.