欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 编程资源 > 编程问答 >内容正文

编程问答

密码框

发布时间:2025/7/25 编程问答 64 豆豆
生活随笔 收集整理的这篇文章主要介绍了 密码框 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

当type特性的值为password时<iinput>元素会创建一个用起来和单行文本框,唯一的不同之处在于其中的字符被掩盖了。

<!DOCTYPE html> <!-- To change this license header, choose License Headers in Project Properties. To change this template file, choose Tools | Templates and open the template in the editor. --> <html><head><title>TODO supply a title</title><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"></head><body><div>TODO write content</div><fomr action="http://www.example.com/login.php"><p>账号:<input type="text" name="username" size="15" maxlength="30"/></p><p>密码:<input type="password" name="password" size="15" maxlength="30" /></p></fomr></body> </html>

 

转载于:https://www.cnblogs.com/q2546/p/9372612.html

总结

以上是生活随笔为你收集整理的密码框的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。