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>
相关推荐
jackyrongvip1 小时前
开源一个可以把HTML敏感词替换的页面小工具
开源·html·敏感词·ai脱敏
IMPYLH1 天前
HTML 的 <figcaption> 元素
前端·html
IMPYLH1 天前
HTML 的 <figure> 元素
前端·javascript·html
richdata2 天前
动态OTB vs 静态OTB:鞋服零售该选哪种管理模式?
前端·html·零售
FungLeo2 天前
Flutter Web 中文字体困境与渲染器选择:CanvasKit vs HTML renderer 实战
前端·flutter·html
3A Cloud2 天前
从王虹的手写报告到可运行的 HTML 幻灯片:拆解 z-wanghong-handwritten-ppt
前端·人工智能·笔记·信息可视化·html·powerpoint·ppt
IMPYLH2 天前
HTML 的 <embed> 元素
前端·数据库·html
必须会一定会2 天前
用纯 HTML/JS 做一个 AI 需求澄清器:把模糊想法转换成可执行任务书
开发语言·前端·javascript·人工智能·html·ai编程
2401_881828323 天前
简易文本处理网页工具|AI 通识课第三次作业
前端·javascript·html
芳心粽伙饭3 天前
HTML第六章 链接标签
前端·html