瀏覽代碼

【优化】页面显示

PJ568 2 年之前
父節點
當前提交
506f7abf7c
共有 1 個文件被更改,包括 2 次插入 和 2 次删除
  1. 2 2
      index.html

+ 2 - 2
index.html

@@ -14,10 +14,10 @@
             <fieldset>
                 <legend>主页</legend>
                 <label for="nickname">昵称</label>
-                <input type="text" id="nickname" name="nickname" value="匿名">
+                <input type="text" id="nickname" name="nickname" placeholder="匿名">
                 <br>
                 <label for="roomid">房间号:</label>
-                <input type="text" id="roomid" name="roomid" value="默认">
+                <input type="text" id="roomid" name="roomid" placeholder="默认">
                 <br>
                 <button type="submit">进入聊天室</button>
             </fieldset>