2.8 Style Sheet Properties and Values
BackNext
Properties and values are used to control the look of a course.
Properties define what will be done to the page. For example "border", "color", or "font-size"

Values provide the details for the properties. For example if you want a title to display red you will enter the "color" property and set its value to "red"

You always include a colon between the property and the value, e.g: color:red

You may use multiple properties and values to modify a tag.

For example if you want the course title to be red, 30 points high, Arial font, and bold you would use the following series of properties and tags.


.main #title {color:red;font-size:30pt;font-style:arial;font-weight:bold} /* course title */


It's True! In chapter one of this course we provided links to a properties and values cheat sheet and to the W3C document which lists all properties and values



 BackNext