<input type="url">

Compare behavior across browsers. Try entering a domain name alone (ex: foo.com), and a domain name prepended by a scheme such as http:// or ftp://.

In Opera, when the field loses focus, it will auto-prepend http:// to the URL by default. Notice that Safari does not, to date, display error messages if the URL is invalid.