How to use default required validators in HTML

21. March 2013

I just got to know something new ( i know its not a very recent thing its just i was unaware of it till date ) that we can use HTML 5 inbuilt validation . You just have to include 'required' word in <input> tag and there will be an automatic validator.

<input name="something" type="text" required />

HTML5 , ,

Add comment

  Country flag

  • Comment
  • Preview