our approach
|
new tutorials
|
contact us
HTML & CSS In Pictures
HTML Basics
Navigation & Layout
Interactivity
Advanced Layout
Change link colors
In
format.css
, add formatting for the
<a>
tag:
body {
background: #ffffcc;
}
h1 {
font-family: verdana,helvetica,sans serif;
font-weight: bold;
font-size:16pt;
}
h2 {
font-family: verdana,helvetica,sans serif;
font-weight: bold;
font-size: 14pt;
}
p {
font-family: arial,helvetica,sans serif;
font-size: 10pt;
}
li {
font-family: arial,helvetica,sans serif;
font-weight: bold;
font-size: 10pt;
}
a {
color: #ff0000;
}
Save
format.css
.
View the site's pages in the browser.
The links on each page should be red.
<< BACK
NEXT >>