31_文本框.html 402 B

123456789101112131415161718
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>Document</title>
  7. <style>
  8. input{
  9. border: 0;
  10. outline: none;
  11. }
  12. </style>
  13. </head>
  14. <body>
  15. <!-- 文本框 placeholder 占位符 -->
  16. <input type="text" placeholder="请输入用户名">
  17. </body>
  18. </html>