Use standards-compliant HTML

- Use standards-compliant HTML boilerplate
- Close tags in the right order, don't put block tags inside inline tags (e.g. `<p><header>...</header></p>`), this will not work
- Escape HTML entities

r? @clauseggers