Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

pattern for email id in html

<form action="example.php">
  <label for="email">Email:</label>
  <input type="email" id="email" name="email"
  pattern="[a-z0-9._%+-]+@[a-z0-9.-]+.[a-z]{2,}$"
  title="Please Enter Valid Email Id">
  <input type="submit">
</form>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pattern #email #id #html
ADD COMMENT
Topic
Name
8+9 =