+ 1
Best way for validation in html?
2 Respostas
+ 1
If you are taking about html form validation
It is type attributes
Maxlength ,minlength,pattern, are also there but "type" is the best
+ 1
If the question is about forms validation,
Regex parameter can be used to validate the inputs values.