<input type="url"/> or
<input type="url" />
HTML5 only. Creates a text entry control for entering a single absolute URL. The user agent may validate the data entered to ensure it is in proper URL format and return an error message if it doesn’t match.
This is an empty element. In HTML, the end tag is forbidden. In XHTML, the element must be closed with a trailing slash as just shown. Developers may include a space character before the slash for backward compatibility with older browsers.
on) or requires the user to enter the information every time (
off). Omitting this attribute causes the control to inherit the
autocompletesetting for the associated
datalistelement. The value of the list attribute is the
idof the associated
reset. Assigns a name to the control; a script program uses this name to reference the control.
titleattribute can be used with
patternto provide a description of the expected pattern/format of the input.
typeis set to
search), measured in number of characters. Users may type entries that are longer than the space provided, causing the field to scroll to the right.
<input type="url" name="blog" size="25"