CSS Structure and Formatting of a CSS Rule Rules, Selectors, and Declaration Blocks


Example

A CSS rule consists of a selector (e.g. h1) and declaration block ({}).

h1 {}