Instead of using html use xhtml or xml, i personally prefer them over html. In html mistakes can be made and the computer can still run the page. But, if you make a piece later on in your document that conflicts with your mistake, it will be very hard to find your original problem. xhtml doesn't let you make any mistakes whatsoever. Then you can use css to style your web page.