|
CSS (Cascading Style Sheet) creates the size of your headings, font-styles, sizes and other issues of style and spacing for your document. CSS is put into the heading of your document (between lines 2 and 5).
Using an "external style sheet" (which is applied to more than one document), you place the address of the style sheet as in line 4 below.
1. <html>
2. <head>
3. <title> Lesson One </title>
4. <link rel="stylesheet" type="text/css" href="yourCSSfile.css" />
If your CSS is for one document only - described by people as "embedded" - you place it in the head of the document between <style type="text/css"> and </style>, as below.
1. <html>
2. <head>
3. <title> Lesson One </title>
4. <style type="text/css">
5. In here goes your "embedded" CSS, no matter how many lines.
6. </style>
7. </head>
LESSON 3: Page Constsruction with and without CSS
Copyright © 2008 Frank E. Smitha. All rights reserved.