技术栈

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

思想永无止境2024-09-24 9:03
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"/>
上一篇:React的useId,现在Vue3.5终于也有了!
下一篇:【操作系统强化】王道强化一轮笔记
相关推荐
Metaphor692
2 天前
使用 Python 将 PDF 转换为 HTML
python·pdf·html
a111776
2 天前
“黑夜流星“个人引导页 网页html
java·前端·html
JieE212
2 天前
手把手带你用纯 CSS 实现一个 3D 旋转魔方,这些前端基础你能打几分?
前端·css·html
YHL
2 天前
🧊 CSS 3D 硬核解析:四个属性手写旋转立方体
前端·css·html
a111776
2 天前
无限森林漫游(简约几何版 html
前端·html
LaughingZhu
2 天前
Product Hunt 每日热榜 | 2026-06-16
前端·人工智能·经验分享·chatgpt·html
m0_54748666
3 天前
《HTML+CSS+JavaScript+Vue前端开发技术教程》全套PPT课件
javascript·css·html
fastjson_
3 天前
Edge浏览器开启IE兼容模式
javascript·edge·html
艾伦野鸽ggg
3 天前
web 组大一下第二次考核
前端·css·html
货拉拉技术
3 天前
Huolala Figma MCP 原理与实践
人工智能·前端框架·html
热门推荐
012026年6月AI行业全景:从百模大战到Agent元年,这30天发生了什么?022026 年 AI 编程工具终极横评:Cursor vs Claude Code vs Copilot vs Windsurf032026年6月AI大模型全景报告:GPT-5.6、Claude Opus 4.8、Gemini 3.5,中美AI三足鼎立谁主沉浮?04【AI】2026 年具身智能模型和世界模型总结052026 AI 编程工具终极实战指南:Cursor vs Claude Code vs Copilot,开发者该怎么选?06GitHub 镜像站点07AI科技热点日报 | 2026年6月1日08上线仅72小时被强制下架:Claude Fable 5 的短命09Codex 下载安装指南:Windows 和 macOS 官方版下载10AI一周事件 · 2026-06-03 至 2026-06-09