首页 > Web开发 > 详细

HTML LIST 输入框自动查询追加框,自动过滤 HTML5

时间:2018-01-29 15:03:41      阅读:228      评论:0      收藏:0      [点我收藏+]
 1 <!DOCTYPE HTML>
 2 <html>
 3 <body>
 4 
 5 <form action="/example/html5/demo_form.asp">
 6 网页:<input type="url" list="url_list" name="link" />
 7 <datalist id="url_list">
 8 <option label="W3School" value="http://www.w3school.com.cn" />
 9 <option label="Google" value="http://www.google.com" />
10 <option label="Microsoft" value="http://www.microsoft.com" />
11 </datalist>
12 <input type="submit" />
13 </form>
14 
15 </body>
16 </html>

效果截图:技术分享图片技术分享图片技术分享图片

 

HTML LIST 输入框自动查询追加框,自动过滤 HTML5

原文:https://www.cnblogs.com/webenh/p/8376410.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!