HCI 201 Multimedia and the World Wide Web
Fall 1999 - Section 703 - Style Sheet Rule Syntax
- A rule tells a particular element how to behave.
- A rule is made up of the selector and the declaration.
- The syntax for writing rules is:
selector { property: value; property: value }
- Example:
H1 { color: navy; font-size: 24pt }
Week 10
Previous | Next
Course Home | Announcements | Class Roster | Schedule | Syllabus