• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter Nine. CSS Basics > Selectors, Declarations, Properties, and Values

Selectors, Declarations, Properties, and Values

A style sheet consists of one or more rules that control how selected elements should be displayed. A CSS rule consists of two parts: a selector and a declaration:

p     { color: red; }


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint