#25: added simple HTML5 validation, closes #25