<form action="/action_page.php" enctype="multipart/form-data" > <label>Name</label> <input type="text" name="name" pattern="[A-Za-z]{3}" ><br><br> <input type="submit"> </form>