Specify input types

Specific input types allows web browser knows what data to expect the user input. For example, an email type input means the input should be an email. Some browsers, such as Google Chrome, would provide extra email format checking to validate if the email is vaild.

Also, the layout of virtual keyboard in mobile device would change based on the type. The following shows few types.

Next Page → Styling inputs for mobile

← Previous Page Chapter 8 – Form inputs

Last updated at 2017-04-19. Show version history


no comments yet.