1. Technology

<input type="email">

By

INPUT Email Description:

The email INPUT tag gives you a way to request email addresses in your web form. In most web browsers, this won't look any different than a standard . Where this field becomes important is on mobile devices that change their interface for email address fields, such as the iPhone, iPad, and iPod. On those devices, email form fields are given a different keyboard with things like readily available @-key, period, and minimized spacebar.

DTD: HTML5: <!doctype html>

INPUT Email Web Browser Support:

All modern PC browsers display a text box for the email type, including Internet Explorer. Mobile browsers, like mobile Safari change the input interface for this field to make it easier to use on small devices.

HTML Versions

INPUT Email Attributes:

Global attributes, event attributes, and the input tag attributes. Plus: </p>

  • autocomplete
  • list
  • multiple
  • pattern
  • placeholder
  • readonly
  • required
  • size
  • selectedOption
  • select()
  • selectionStart
  • selectionEnd
  • selectionRange()

INPUT Email Usage:

Standard email input tag

<form>
<input type="email">
</form>

See an example of a standard email input tag.

INPUT Email Special Notes:

This is an HTML 5 input tag that everyone should use right now. It has no impact whatsoever on any computer browsers, and makes forms on mobile devices like the iPhone so much easier.

More INPUT Email Information:

©2014 About.com. All rights reserved.