Forms that behave well on mobile

Small attributes that make typing easier.

HTML · Forms that behave well on mobileAdvanced
<form>
  <input type="text" name="user" autocapitalize="none" autocorrect="off" spellcheck="false" autocomplete="username" aria-label="Username">
  <input type="text" name="city" autocapitalize="words" enterkeyhint="next" aria-label="City">
  <input type="search" name="q" enterkeyhint="search" inputmode="search" aria-label="Search">
  <textarea name="note" spellcheck="true" aria-label="Note"></textarea>
</form>
enterkeyhintautocapitalizespellcheckinputmode