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"/>
相关推荐
Frag0ut12 小时前
Notepad++ 零基础入门:从记事本到代码编辑器的平滑过渡(2026最新版)
python·编辑器·html·json·notepad++·markdown·记事本
用户2986985301414 小时前
Python 实现 HTML 转纯文本:两种场景下的文档模型方案
python·html·api
前端架构师-老李15 小时前
HTML与CSS基础第七课—HTML 中的a标签(跳转链接)
前端·css·html
zhippt_10142 天前
教师做课件太耗时?AI生成PPT工具与图转PPT实测梳理
人工智能·html·powerpoint
winfredzhang2 天前
从零手写一个毛玻璃风格的页面搭建台:单文件 HTML 实现组件放置、面板磁吸与图层管理
前端·html
沫璃染墨2 天前
从零入门计算机网络系列(十一):HTTP协议进阶——从重定向原理到GET/POST与Fiddler抓包
linux·服务器·开发语言·网络·c++·tcp/ip·html
前端架构师-老李3 天前
HTML与CSS基础第五课—HTML的空格、换行、横线相关知识
前端·css·html
echome8883 天前
CSS 布局:Flex 和 Grid 怎么选,附常见坑
前端·css·html
东鹏特饮3 天前
本机状态监控页面html
运维·css·html·css3
软件技术NINI3 天前
基于SpringBoot和Vue的摇滚乐鉴赏网站
vue.js·spring boot·后端·spring·html·毕业设计·毕设