Rails provides view helpers for generating form markup.
date
datetime
datetime-local
time
month
week
input<type="telephone">
input<type="email">