| |
Style Sheets
Cascading style sheets are a collection of rules that define how elements and
tags in an HTML page will be displayed in a browser. These rules give developers
control over elements beyond that offered by standard HTML.
Cascading style sheets provides a means of rendering and displaying information.
Cascading style sheets add character to a web page. They can be of 3 types,
internal, external to the HTML page, and Style sheets as attributes.
External style sheets are defined outside of the HTML page, in a file of there
own. They are then linked into the page using the <LINK> tag, providing reusability.
Be sure to specify REL="stylesheet" so the browser will know the linked document
is a sytlesheet and treat it accordingly.
Internal style sheets provide a local version of the style sheet. Usable only
within the page it's defined.
Style sheets as Attributes is the least reusable rendering code. The style is embedded within a specific
tag on the HTML page. This is a way of overriding a single attribute of a Cascading
style sheet at the tag level. Or, simply providing one attribute used in rendering
the HTML associate with the tag.
Here is the set of tags associated with this category
|
|