1. Home
  2. Computing & Technology
  3. Web Design / HTML

declaration

By Jennifer Kyrnin, About.com

Definition: The declaration or declaration block in CSS is the section of a style rule that defines the styles to be applied.
Examples: p { color: #f00; }
The "{ color: #f00; }" is the declaration block and defines the paragraphs as red.

Explore Web Design / HTML

More from About.com

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. CSS
  5. declaration - definition

©2008 About.com, a part of The New York Times Company.

All rights reserved.