So lets get on with it, I am using Dreamweaver 8 and previewing in IE6 and Firefox , you can use Notepad and Opera7 if you like, it does not matter at this stage.
Cut and paste the following code into a blank html document.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>CSS Tutorial Page - Step 1</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFCC" text="#CC33CC"> <div align="center"> <h1><font color="#FF0000" size="5" face="Verdana, Arial, Helvetica,sans-serif"><strong>The Future is now - CSS to the masses</strong></font> </h1> <strong><font color="#333333">Cascading Style Sheets</font></strong><br> <strong><font color="#333333"> Part One - Go backwards to go forwards</font></strong> <p> </p> <h3 align="left"><em><font color="#333366" size="+1" face="Times New Roman, Times, serif">This may look like a simple web page, and it is, but you'd be amazed at all the tags (attributes) that it contains!</font></em></h3> <p align="left"><em><font size="+1" face="Georgia, Times New Roman, Times, serif">This line should be the default purple colour, italic in style and Georgia in type.</font></em></p> </div> </body> </html>
Save the file as step1.html. A very simple looking page, but already those attributes are making a mess of the code.
Take a look at the result of the above code here and then use the navigation below to continue.
Back to CSS Index Page | Forward
to Part One Page Two ![]()
