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>
相关推荐
RD_daoyi3 小时前
谷歌改写了76%的标题:超60字符的,95%会被谷歌自己重写
大数据·服务器·开发语言·前端·搜索引擎·html
IMPYLH3 小时前
HTML 的 <map> 元素
前端·html
zhanghaha13143 小时前
HTML系列教程:8_HTML 文本格式化标签
前端·css·html
我命由我1234514 小时前
UI 设计 7 种排列方式
xml·学习·ui·html·产品运营·产品经理·学习方法
এ慕ོ冬℘゜18 小时前
深入理解浏览器全屏 API:从 requestFullscreen 到全屏实战
开发语言·html
csuzhucong1 天前
二十一 - 四十阶魔方
javascript·css·html
IMPYLH1 天前
HTML 的 <main> 元素
前端·html
软件技术NINI2 天前
传统文化html+css 5页
前端·css·html
灯澜忆梦2 天前
【基于GO的Web开发11】gin获取URL‑Path 路径参数
前端·后端·golang·html·gin
IMPYLH2 天前
HTML 的 <legend> 元素
java·前端·html