Creating Email, Telephone, and URL Boxes

The email, telephone, and URL input types are new to HTML5. They look exactly like text boxes but have small but very helpful features added for validation and inputting content (Image through Image). Support for these new fields is growing, and older browsers will treat these fields as text boxes Image.

Image When the visitor enters ...

Get HTML5 and CSS3: Visual QuickStart Guide, Seventh Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.