input attribute pattern for email code example
Example 1: html5 input pattern name
echo '<input type="text" maxlength="32" name="first_name" pattern="[A-Za-z]{1,32}" value="'.$_SESSION['user_first_name'].'" required>';
Example 2: Which attribute in HTML5 is used to verify the email address on a web page?
patterned also do not cheat :)