How to Apply HTML 5 Validation