Prev Demo
CSS3
>
Valid
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title>Demo</title> </head> <body> <style> input:valid { background-color: mintcream; border: 1px solid red; } </style> Enter Your Mail ID <input type="email" placeholder="Mail ID@exampel.com" /> <br /> <p>Please Enter valid Mail ID</p> <br /> <br/> <h3>It will not work in IE9.</h3> </body> </html>
Note: We DO NOT save your trial code in our database.
Output