Declaration

A style sheet is a (italic-XXX)set of rules. To define a (italic-XXX)rule you need a selector and a declaration. The selector allows you to choose which elements will use the settings. defined by the declaration.

Syntax
property-name - property-value;
Description

property-nameA reserved keyword that defines a property
property-valueA valid value for the property


font-size:15px; used to set the size of the text to 15px
font-style:italic; used to set the style of the text to italic
color:yellow; used to set the color of the text to yellow
cursor:move;
Related Tutorial