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"/>
相关推荐
姑苏倾城客1 小时前
Flutter中,html 与 dart 桥接沟通
javascript·flutter·html
Dlrb12111 天前
信息查询Web服务器-->电子商城信息查询项目
linux·服务器·数据库·html·嵌入式·epoll·数据查询
aichitang20241 天前
Claude fable 5与GPT5.5模型能力实测
javascript·css·人工智能·ai·html·html5
就叫飞六吧1 天前
F12 控制台日志移植到页面案例
javascript·css·html
言乐62 天前
Python快速生成工作报告
python·系统架构·html·交互·软件构建
西柚小萌新2 天前
【论文写作】--LaTeX详细入门教程2
前端·html
winfredzhang3 天前
为长阅读而生:我做了一个「安静」的 PDF 阅读器
pdf·html
u0143781083 天前
行内块元素之间的空白
前端·html
触底反弹3 天前
🎲 纯 CSS 搞定 3D 旋转立方体?还附赠一个「天坑」解决方案!
前端·css·html
LaughingZhu3 天前
Product Hunt 每日热榜 | 2026-07-06
前端·人工智能·经验分享·chatgpt·html