input type=email element | input type=email object

0 out of 2 rated this helpful - Rate this topic

Creates a single-line validated email address entry control.

HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.10.7.1.5

DOM Information

Inheritance Hierarchy

 Node
  Element
   HTMLElement
     input type=email

Members

The input type=email object has these types of members:

Properties

The input type=email object has these properties.

PropertyDescription

canHaveChildren

Gets a value indicating whether the object can contain child objects.

type

Retrieves or initially sets the type of input control represented by the object.

value

Sets or retrieves the displayed value for the control object. This value is returned to the server when the control object is submitted.

 

Standards information

Remarks

Note  For code samples, see Form controls part 1 and Form controls part 2: validation on the a Windows Store app using JavaScript sample site.

Examples

This example uses the input type=email element to create an empty email control.


<input type="email" value="" name="userEmail">

See also

Reference
input
validity
formNoValidate

 

 

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.