Markup Maker

Markup Maker is a very convenient way to quickly get a valid (X)HTML structure for web pages you make.

Just paste in your (semantically correct) div ids for the layout you want. Choose if you want inline CSS or a separate file and which Doctype your document should have.
After that simply click on “Convert to XHTML” and you’ll get a nicely formatted HTML & CSS document.