The World Wide Web Consortium describe CSS1 as a simple style sheet mechanism
that allows autors and readers to attach style to HTML documents.
According to its authors CSS1 uses common desktop publishing terminology which should
make it easy for professional as well as untrained designers to make use of its features. This page introduces some
of the basic concepts and describes the font related features of CSS1. For full details of the CSS1 specfication please see the official
W3C Cascadung Style Sheets page.
CSS1 provides the designer with various ways of specifying style for a web page. Style information can be stored in an external
file and referenced by any number of Web pages, or the body of the page. The method described below involves including style information within a STYLE
section in the HEAD part of a particular HTML file. Style properties can be applied to HTML elements at the block level and at the text or
|
inline level. Block level elements are those that usually cause paragraph breaks.
USES COMMON DESKTOP PUBLISHING TERMINOLOGY
These include H1 to H6 (headings), P (paragraphs), and LI (list items). Text level elements include EM, STRONG
and CITE as well as B, I and A (hypertext anchors). In CSS1 HTML elements are known as selectors.
CSS1 supports 35 different properties which can be applied to selectors. Properties include background (color or graphic), font-size,
font-weight, line-height (leading or interlinear spacing), font-family, letter-spacing and word-spacing.
A property and its associated value is known as a declaration.
|
|