🏷️ HTML Label Quick Reference

Browse an HTML tag reference in your browser — syntax, attributes and usage for each element.

📚 深度解析:HTML 標籤速查

💡 常見使用場景

  • 查閱語義標籤與屬性。
  • 重構頁面時選語義標籤:把一堆 div 換成 header / nav / main / article,既提升可讀性也利於 SEO 與螢幕閱讀器。
查
`<article>` 表示獨立內容;`<section>` 表示主題區塊。

❓ 常見問題(FAQ)

section 與 div?
section 有語義,div 僅容器。
語義標籤會影響樣式嗎?
瀏覽器預設樣式會略有差異(如 <strong> 加粗、<h1> 字號更大),但語義本身不繫結外觀——你完全可以把 nav 渲染成任意樣式。真正的收益在無障礙與 SEO:螢幕閱讀器能按 landmark 跳轉,搜尋引擎也更容易判斷主次內容。

Formula & Standard References

Item Formula / Note Source / Standard
Void elements area base br col embed hr img input link meta source track wbr WHATWG HTML Standard
Document skeleton html / head / body plus required title WHATWG HTML Standard
Content model metadata / flow / sectioning / heading / phrasing / embedded WHATWG HTML Standard
⚠️ 使用說明與注意事項