Test HTML4 and HTML5 validation