ClickStart logoHTML5 to the point

Creating an email or url input element

You can use the input element’s ‘email’ type to create an email address text box or the ‘URL’ type to create a URL text box. The email or url input elements will display a message if the value is not valid.

Screenshots


email


url

Code

email
<input name="myEmail" type="email">

url
<input name="myURL" type="url">

Example

email

url