I'm trying to validate my XHTML 1.0 but I've got 2 error's which I can't seem to fix no matter what. Could someone just take a look at it and if so provide alternatives to it? When I change 'email' to text my JS stops working.
Line 49, Column 58: there is no attribute "required"
…id="first-name" type="text" required="required" onkeypress="return onlyAlphab…
Error Line 63, Column 41: value of attribute "type" cannot be "email"; must be one of "text", "password", "checkbox", "radio", "submit", "reset", "file", "hidden", "image", "button"