Using HTML attributes on input tag to improve user experience

from blog Ahmad Alfy, | ↗ original
HTML5 introduced a whole bunch of attributes that can be used on form elements like `input` and `textarea` to eliminate the need of using JavaScript for validation. It also introduced other attributes like autocomplete