Sunday, April 6, 2008

CSS - Cascading Style Sheets

Definition: CSS is short for Cascading Style Sheets

Usage: to define how HTML elements should be displayed
. There are many ways to utilize the power of CSS, however external style sheets allow the web developer to control the overall look and feel of a site from one central location, with edits being reflected across the entire website. To reference an external CSS file, place the following code with the the <HEAD> tag:

Examples:

Linking to an External CSS
<link rel="StyleSheet" href="style.css" type="text/css">

Inlining Style
<p style="color: blue; font-family: 'Arial'">

Here is an example of inline style

</p>

No comments: