Fix HTML5 validation errors