Sanjay Singh

Sanjay Singh

  • NA
  • 3.6k
  • 856.2k

validation through HTML or Javascript or PHP ?

Apr 21 2014 9:31 AM
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)