for describing web documents (web pages). • HTML stands for Hyper Text Markup Language • A markup language is a set of markup tags • HTML documents are described by HTML tags • Each HTML tag describes different document content
.class 名稱 • ID #ID 名稱 • Universal *所有的元素 • Attribute 所有符合[屬性=值]的元素 – Combinators • Adjacent sibling (A + B) A 接在 B 之後的元素 • General sibling (A ~ B) 前面有 A 的所有 B 元素 • Child (A > B) 父元素為 A 的所有 B 元素 • Descendant (A B) A元素中 所有的 B 元素
center; } The background-origin property specifies where the background image is positioned. The background-attachment property sets whether a background image is fixed or scrolls with the rest of the page.