Define a field for entering a URL.
The <input type="url">
defines a field for entering a URL.
The input value is automatically validated before the form can be submitted.
Tip: Always add the <label>
tag for best accessibility practices!
The numbers in the table specify the first browser version that fully supports the element.
<input type="url">
Example:
HTML
<label for="homepage">Add your homepage:</label>
<input type="url" id="homepage" name="homepage">
Type: | Html |
Category: | Web Tutorial |
Sub Category: | HTML Tag |
Uploaded by: | Admin |