Solution · code-edit

lang、charset 與 viewport

對照完整答案、責任邊界與原因。

Solution 要做什麼

對照完整答案、責任邊界與原因。

本主題檔案:files/index.html

定位:先在 Elements 展開 html 與 head,不要先調 CSS。

本階段驗收

頁面不會替你修改檔案;請在實作檔完成後重新整理確認。

目前要處理

fixture 的 lang、charset 與 viewport 值都是待修正狀態。

預期看到

documentElement.lang=zh-Hant、charset=utf-8,viewport 含 width=device-width 與 initial-scale=1。

`<html lang="zh-Hant">` 與 head 內 UTF-8/viewport 兩個 meta。

檔案清單

只在本階段資料夾內操作,避免改到其他章節。

證據:html.lang、meta.charset、meta[name=viewport].content

回到主題說明