Cascading Style Sheet

A cascading style sheet is a text file that is saved with the .css extension. It allows web designers to add styles to web pages without altering the flow of data within them. This allows the content of the page to still be readable and understandable in the even that styling does not work properly or doesn't load properly.

An example style sheet:

body {
background-color: #000000;
background-image: url("images/bg.jpg");
background-repeat: repeat-x
width: 100%;
p {
font-size: 1em;
font-family: Comic Sans, sans-serif

Linking to a stylesheet should be done in the <head> section of your webpage, unless you are using inline styles. Here is an example of linking to a stylesheet using the &&<link>&& tag:

<link href="mystyles.css" type="text/css" rel="stylesheet">