HTML CSS examples for HTML Tag:input
input pattern Attribute - An <input> element with type="email" that must be in the following order: characters@characters.domain
<!DOCTYPE html> <html> <body> <form action="/action_page.php"> E-mail: <input type="email" name="email" pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,3}$"> <input type="submit"> </form><!--from w w w .jav a 2 s . co m--> </body> </html>