Tutorial: External style sheets
1. Introduction & Tools
Linking the HTML and the External Style Sheet:
In the <head> part of your html document under the metatags, you will link to the css document. Here is the line of code in the image example below:
<link rel="stylesheet" type="text/css" href="your-style-sheet.css" media="screen">.
You also need to tell the browser what type of html page it is so another tag is required - the "DOCTYPE". It will be the very first line in your html page. Here is the one I use: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">. This says that the page uses HTML version 4.01. This is the one we'll be using for this tutorial, you can read more about them at wc3.org.
Later you will set up the css properties (DIVS and classes) inside the html - more about this later. First we'll set up some css in the external style sheet.
Tutorial: External Style Sheets
ALL IMAGES AND CONTENT COPYRIGHT 2011, ANNIEMATION
ANNIEMATION IS A REGISTERED TRADEMARK