代码示例:(标识:eg_html_input_url)
<!DOCTYPE html>
<html>
<body>

<form action="/Index/Demo/demo_form_current.html">
  请添加您的首页:
  <input type="url" name="data">
  <input type="submit">
</form>

<p><b>Note:</b>IE9 及其更早版本不支持 type="url"。</p>

</body>
</html>
运行结果: