Fixes doctype and markup issues

Adds missing doctype and addresses a couple of markup issues and inconsistencies.
Merge pull request #1 from aJanuary/patch-1

Fixes doctype and markup issues