1
0

index.html 695 B

12345678910111213141516171819202122232425262728
  1. <!DOCTYPE html>
  2. <html lang="zh-Hans">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>聊天室</title>
  6. <link type="text/css" rel="stylesheet" href="html-chat.css">
  7. <meta name="viewport" content="width=192, initial-scale=1.0">
  8. </head>
  9. <body>
  10. <div class="container">
  11. <form action="./chat" method="get">
  12. <fieldset>
  13. <legend>主页</legend>
  14. <label for="nickname">昵称:</label>
  15. <input type="text" id="nickname" name="nickname" placeholder="匿名">
  16. <br>
  17. <label for="roomid">房间号:</label>
  18. <input type="text" id="roomid" name="roomid" placeholder="默认">
  19. <br>
  20. <button type="submit">进入聊天室</button>
  21. </fieldset>
  22. </form>
  23. </div>
  24. </body>
  25. </html>