These are preliminary notes. I'm learning as I'm doing. Cascading Style Sheets (CSS) are separate files (with a .css extension) linked to Web pages that control the display of those pages. An author defines formats for standard or custom tags and then beds a linked in the individual pages to the style sheet.
Note: authors using cascading style sheets should make sure, when defining custom tags, that the tags will display properly in older browsers that do not support CSS. (Some browsers like Opera, allow you to turn off automatic recognition of cascading style sheets.) Older browsers and older HTML can't handle CSS -- as witness the AnyBrowser HTML Viewer Page.
The World Wide Consortium is recommending use of CSS over the use of inline formatting such as the <FONT> tag -- indeed, W3C now "frowns" upon the <FONT> and <BLOCKQUOTE> tag! It recommends against <TABLE> tags (bulleted lists do load faster). (Allaire's Homesite built-in HTML validator informs me "In HTML 4.0, FONT is deprecated. It may become obsolete in future versions, consider using style sheets instead.") More on this as I learn more about it.
My own preference is to use logical formatting in HTML to divide content with such quote in scratch that "logical" format commands such as <title>, <H1>, <H2>, etc. By using these logical tags, authors will keep their text in orderly format, ensure that older browsers will display the text, and that CSS can be applied in a logical manner across entire site, now or in the future.
See also my notes on Web page accessibility and Usability.
I've found the following sites useful in learning CSS:
* These Microsoft Developers' Network (MSDN) pages require a free registration.
[Home] [Work] [Research & Notes > CSS] [Personal]