html input 展示隐藏的密码

html 复制代码
<!DOCTYPE html>
<html>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<body>

<h2>登录表格</h2>

<form action="/action_page.php">
  <div class="container">
    <label for="uname"><b>用户名</b></label>
    <input type="text" placeholder="输入用户名" name="uname" required>

    <label for="psw"><b>密码</b></label>
    <input type="password" placeholder="输入密码" name="psw" required>

    <button type="submit">登录</button>
  </div>
</form>

</body>
</html>
相关推荐
ZC跨境爬虫1 天前
跟着 MDN 学CSS day_25:(高级区块效果)
前端·css·html·tensorflow·媒体
罗超驿1 天前
1.HTML基础入门:标签、属性与路径详解(VSCode开发环境)
前端·vscode·html
艾利克斯冰1 天前
HTML 5 CSS3从入门到精通
html·css3
罗超驿1 天前
2.HTML表格详解:标签、属性与单元格合并实战
前端·html
程序二次开发1 天前
wordpress 文章页,文章分类,单页,woocommerc 产品页,分类页添加.html后缀
大数据·前端·html·php
a1117761 天前
html制作的PPT(各种风格)提示词
前端·开源·html
JCJC错别字检测-田春峰1 天前
字根秀秀 HTML 托管现已支持“用户登录”功能,一键变身 Web App!
前端·html·web app·网页托管
ZC跨境爬虫1 天前
跟着 MDN 学CSS day_27:(处理不同方向的文本)
前端·javascript·css·ui·html
ZC跨境爬虫1 天前
跟着 MDN 学CSS day_24:(CSS调试完全指南)
前端·css·ui·html·tensorflow
学点程序1 天前
HyperFrames:用 HTML 生成视频的开源渲染框架
前端·开源·html·音视频