Articles → HTML 5 → URL Input Element In Html5
URL Input Element In Html5
Purpose
Syntax
Example
<!DOCTYPE html>
<html lang="en"
xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title></title>
</head>
<body>
<form>
<input type="url">
<input type="submit" value="Click Me" />
</form>
</body>
</html>
Try It
Output
Browser Support
Internet Explorer | Firefox | Chrome | Safari | Opera | Edge |
---|
10.0 | Yes | Yes | Yes | 10.1 | Yes |