Create form in HTML with all form elements apply form validations code example Example: name validation html <input type="text" pattern="[a-zA-Z'-'\s]*">