HTML <input> Tag with 'type=url'

<form name="myForm" action="">
<input type="url" name="myUrlField">


The above example demonstrates usage of the <input> element with the type attribute set to url (i.e. type="url").

The url value represents a control for editing a single absolute URL given in the element's value.

Browsers should enforce the value entered when using the url type. If the user attempts to enter text that is not in a proper, absolute URL format, the browser will prevent the form from being submitted and display a message to the user, asking them to enter a valid URL.