码迷,mamicode.com
首页 > Web开发 > 详细

web安全漏洞防护

时间:2014-11-26 10:57:37      阅读:183      评论:0      收藏:0      [点我收藏+]

标签:style   blog   http   io   ar   color   sp   for   on   

Password type input with autocomplete enabled

The autocomplete attribute works with the following <input> types: text, search, url, tel, email, password, datepickers, range, and color.

The autocomplete attribute specifies whether or not an input field should have autocomplete enabled.

Autocomplete allows the browser to predict the value. When a user starts to type in a field, the browser should display options to fill in the field, based on earlier typed values.

<form action="demo_form.asp" autocomplete="on">
   First name:<input type="text" name="fname"><br>
   Last name: <input type="text" name="lname"><br>
   E-mail: <input type="email" name="email" autocomplete="off"><br>
   <input type="submit">
</form> 

参见:http://www.w3schools.com/tags/att_input_autocomplete.asp

 

web安全漏洞防护

标签:style   blog   http   io   ar   color   sp   for   on   

原文地址:http://www.cnblogs.com/fenglie/p/4122524.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!