Hands On Practice 3.6 Exercise

Click Here to View Finished Exercise

 


Chapter 3

Configuring Color and Text with CSS

Hands On Practice 3.6 P.95

In this exercise I learned how to make a CSS external page. This would be seprate from the actual web page.

The first thing I did was put the following code in a file called "color.css".

body { background-color: #0000FF;
color: #FFFFFF
}

Then to apply the CSS code from the external page I used this code. This would be underneath the <title> tag.

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

Make sure that the CSS external page is in the proper directory folder specified in your href or link comand or it will not work.