html/css怎么禁用浏览器自动填写

html 复制代码
<input type="text" name="username" autocomplete="off">
<input type="password" name="password" autocomplete="new-password">

或者vue:

html 复制代码
<el-input type="text" v-model="loginForm.username" auto-complete="off"/>
<el-input type="password" v-model="loginForm.password" auto-complete="new-password"/>
相关推荐
Data_Journal9 小时前
如何使用 Python 解析 HTML
python·html
java1234_小锋15 小时前
【技术专题】HTML5 网页技术 - HTML5 Canvas 基础以及动画入门
前端·html·html5
keyipatience1 天前
TypeScript学习(1)
前端·javascript·学习·typescript·html·css3
java1234_小锋1 天前
【技术专题】HTML5 网页技术 - HTML5 语义化标签
前端·html·html5
asdzx671 天前
C# 将 HTML 转换为 PDF:基于 Chrome 的转换方案
pdf·c#·html
王大师王文峰1 天前
HTML 入门到进阶:语义化标签、表单与多媒体一篇打通【语义化布局、表单校验、video/audio、Canvas、无障碍与 SEO】
前端·css·node.js·html·css3·jquery·html5
java1234_小锋2 天前
【技术专题】HTML5 网页技术 - HTML5 表单基础以及增强
前端·html·html5
燕落南枝2 天前
HTML 学习:辅助标签 label 与字符实体
前端·学习·html
燕落南枝2 天前
HTML 表单入门:表单容器、文本框与密码框属性详解
前端·microsoft·html
燕落南枝2 天前
HTML 学习:input 单选、复选与文件域详解
服务器·学习·html