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>
相关推荐
Smart-Space12 小时前
htmlbuilder - rust灵活构建html
rust·html
anOnion1 天前
构建无障碍组件之Alert Dialog Pattern
前端·html·交互设计
一个懒人懒人1 天前
Promise async/await与fetch的概念
前端·javascript·html
晚烛2 天前
CANN + 物理信息神经网络(PINNs):求解偏微分方程的新范式
javascript·人工智能·flutter·html·零售
ۓ明哲ڪ2 天前
网页视频倍速播放.
html
觉醒大王2 天前
哪些文章会被我拒稿?
论文阅读·笔记·深度学习·考研·自然语言处理·html·学习方法
Never_Satisfied2 天前
在JavaScript / HTML中,关于querySelectorAll方法
开发语言·javascript·html
夏幻灵2 天前
HTML5里最常用的十大标签
前端·html·html5
程序员猫哥_2 天前
HTML 生成网页工具推荐:从手写代码到 AI 自动生成网页的进化路径
前端·人工智能·html
杨超越luckly2 天前
HTML应用指南:利用GET请求获取中国500强企业名单,揭秘企业增长、分化与转型的新常态
前端·数据库·html·可视化·中国500强