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>
相关推荐
用户298698530143 小时前
React 中 HTML 内容转 Word 文档的实现方案
javascript·react.js·html
XLYcmy1 天前
HTML/CSS/JS 基础与 Vue 技术栈深度解析
java·前端·css·html·vue3·vue2·api
晴天161 天前
HTML canvas标签使用指南-Day32
前端·html
FreeTinker2 天前
HTML本地存储技术解析:localStorage与sessionStorage的原理、差异与应用场景
前端·html
可乐鸡翅yeah_2 天前
第三方接口对接 M3U8 流媒体排坑实战,解决外部服务商流兼容难题
前端·javascript·python·django·html·m3u8·m3u8在线
梦醒沉醉2 天前
13、HTML入门——HTML中的表单和按钮
html
子非鱼a2 天前
【WEB】[NewStarCTF 公开赛赛道]UnserializeOne
前端·javascript·html
开开心心就好2 天前
电子教鞭工具支持画框写字插图片功能齐全
android·开发语言·前端·javascript·人工智能·pdf·html
RD_daoyi3 天前
谷歌改写了76%的标题:超60字符的,95%会被谷歌自己重写
大数据·服务器·开发语言·前端·搜索引擎·html