Honour the HTML5 spec

The main page did not validate. This pull requests brings a couple of fixes to make it pass.