Here are structural templates to create conforming HTML and XHTML documents. Follow the link, copy and paste into your editor of choice, and save.