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>
相关推荐
anOnion10 小时前
构建无障碍组件之Window Splitter Pattern
前端·html·交互设计
阿部多瑞 ABU11 小时前
《智能学号抽取系统》V5.9.5 发布:精简代码,修复移动端文件读取核心 Bug
vue·html·bug
人工智能研究所15 小时前
Claude + HyperFrames:用 HTML 方式制作视频,AI 时代一切皆可 HTML?
人工智能·html·音视频·ai 视频·hyperframes·claude-
广师大-Wzx20 小时前
JavaWeb:前端部分
java·前端·javascript·css·vue.js·前端框架·html
keyipatience1 天前
3.Linux基本指令2
前端·html
iReachers1 天前
HTML打包EXE工具数据加密功能详解 - 加密保护HTML/JS/CSS资源
javascript·css·html·html加密·html转exe·html一键打包exe·exe打包
前端老石人1 天前
前端网站换肤功能的 3 种实现方案
开发语言·前端·css·html
yivifu2 天前
手搓HTML双行夹批效果
前端·html·html双行夹注
钮钴禄·爱因斯晨2 天前
他到底喜欢我吗?赛博塔罗Java+前端实现,一键解答!
java·开发语言·前端·javascript·css·html
Beingchou2 天前
HTML头部元信息避坑指南大纲
前端·html