上一篇
登录页面html代码div
- 行业动态
- 2024-05-23
- 3632
“ html,,,, , , <a href="https://www.xixizhuji.com/ask/tag/%e7%99%bb%e5%bd%95%e9%a1%b5%e9%9d%a2" title="View all posts in 登录页面" target="_blank">登录页面</a>,,, , , 用户名:, ,
, 密码:, ,
, 登录,
,
,,,
“
<!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF8"> <meta name="viewport" content="width=devicewidth, initialscale=1.0"> <title>登录页面</title> <style> body { fontfamily: Arial, sansserif; backgroundcolor: #f0f0f0; } .container { width: 300px; padding: 16px; backgroundcolor: white; margin: 100px auto; border: 1px solid #ccc; borderradius: 4px; } input[type=text], input[type=password] { width: 100%; padding: 12px 20px; margin: 8px 0; display: inlineblock; border: 1px solid #ccc; boxsizing: borderbox; } button { backgroundcolor: #4CAF50; color: white; padding: 14px 20px; margin: 8px 0; border: none; cursor: pointer; width: 100%; } button:hover { opacity: 0.8; } </style> </head> <body> <div > <h2>登录</h2> <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> </body> </html>
本站发布或转载的文章及图片均来自网络,其原创性以及文中表达的观点和判断不代表本站,有问题联系侵删!
本文链接:http://www.xixizhuji.com/fuzhu/199730.html