TOP | BACK | FORW


3. Style Specification for Logical Elements

3.3 Simple Example of Style Specification by CSS




Style sheet is a set of rules.
A rule is described in the form of
        Selector {property: value}

where
        Selector identifies a element.
        {Declaration} specifies properties to the element.

For grouping,
        each selector is separated by ","
        each declaration is separated by ";"

Implementation
        (1) linking style sheet
        (2) embedding style sheet
        (3) inline style sheet



TOP | BACK | FORW