Advertuse

Search This Blog

Your Ad Here

Saturday 25 June, 2011

Validation in HTML5 without JavaScript

Hi Friends,
any website or web page which  allowed to fill data,  should have  client side as well as server side validation  for those entered data. hence in any website  client side  validation is done by JavaScript only. but in  HTML 5  now we can do validation without JavaScript.

 
you can have required  filed  by providing  required  attribute to those input type as shown below.


 <input type="email" required/> where required will indicate that a value must be supplied
images/forms_validation_required.png


S
compile by
Divyang Panchasara
Sr. Programmer Analyst
Hitech OutSourcing

1 comment:

Anonymous said...

will you plz provide a demo and how to modify validation message without using Javascript