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>
相关推荐
IMPYLH21 小时前
HTML 的 <dt> 元素
java·前端·html
IMPYLH1 天前
HTML 的 <em> 元素
java·前端·html
a1117761 天前
农业数字孪生大屏网页 html开源
前端·html
a1117762 天前
汽车3D配置器 THreeJS 开源项目
前端·3d·html·汽车
醉城夜风~2 天前
HTML列表标签学习博客:有序列表、无序列表、自定义列表详解
前端·学习·html
米码收割机2 天前
【前端】html+css 甘肃天水旅游(源码+文档)【独一无二】
前端·css·html
米码收割机2 天前
【前端】html_css 沐光公益阅读馆(源码+文档)【独一无二】
前端·css·html
NutShell Wang2 天前
零依赖架构实战:451个HTML文件如何用63KB平均体积交付3584个交互模块
前端·人工智能·arcgis·npm·开源·html·vibe coding
杨超越luckly3 天前
Agent应用指南:基于 SPTCC 一卡通数据的上海地铁客流特征分析(2015.04)
html·agent·可视化·一卡通·地图客流
2601_965798473 天前
Arrow Unlocker HTML5 Game Review: Keep Web Arcade Players Coming Back
前端·html·html5