This page defines the basic terminology (vocabulary, jargon) of CSS.

Style Sheet

  • A collection of rules that will be applied to a document

Rule

  • A selector followed by a declaration block

Selector

  • The element(s) to which the rule will be applied

Declaration Block

  • A pair of curly braces { } containing one or more declarations

Declaration

  • A property, followed by a colon (:), followed by a value

Property

  • An aspect or quality of an element’s presention, e.g. color

Value

  • The specific text or number associated with a property, e.g. read

CSS syntax