The use of HTML5 input types brought two main advantages of developing to the front: reduction of development time and improvement of user experience. Many modern browsers have already adopted these new input types and attributes and the entire web community is benefited from it, facilitating the spread of its usage.
The most frequently used HTML5 input types are email
, date
, tel
, number
, and time
. Also, the most common attributes that come with HTML5 are placeholder
, required
, autocomplete
, and multiple
. We will see in Chapter 10, Ensuring Browser Support, that not all web browsers support HTML5 features the same way and require jQuery intervention to provide the proper support.
However, it still depends on jQuery technology to display features such as autocomplete
and other more complex validation. Normally, jQuery plugins work really well with the new HTML5 input types, being almost mandatory for responsive websites. Before starting the implementation...