CSS Basics
This section of the site describes the basics of CSS:
- How do I write a CSS style rule? The basic anatomy of a style rule or style declaration block.
- Where do I create my CSS? This page describes external style sheets, embedded styles, and inline styles; and explains their different uses.
- How do I specify values? This page explains how to specify colors, sizes, and URLs.
- Why are they called “cascading” style sheets? A brief description of how the cascade works, plus an explanation of how to calculate the specificity of a style rule in case of a conflict between selectors.