1
0

index.html 783 B

123456789101112131415161718192021222324252627
  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. </head>
  8. <body>
  9. <div class="container">
  10. <form action="/chat" method="get">
  11. <fieldset>
  12. <legend>主页</legend>
  13. <label for="nickname">昵称</label>
  14. <input type="text" id="nickname" name="nickname" value="匿名">
  15. <br>
  16. <label for="roomid">房间号:</label>
  17. <input type="text" id="roomid" name="roomid" value="默认">
  18. <br>
  19. <button type="submit">进入聊天室</button>
  20. </fieldset>
  21. </form>
  22. </div>
  23. </body>
  24. </html>