4
Reply

validation through HTML or Javascript or PHP ?

Sanjay Singh

Sanjay Singh

Apr 21 2014 9:31 AM
788
for validation through Javascript or PHP we have to required  long line of code.
why we not frequently use validation in HTML by only writing "required"?
ex. In HTML <input type="text" name="name" required="required" /> 

Answers (4)