Improve HTML markup

In an attempt to conform to the guidelines at codeguide.co, I've updated the the HTML files to improve consistency and readability.