4
Answers

validation through HTML or Javascript or PHP ?

Sanjay Singh

Sanjay Singh

10y
1.2k
1
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)