Lab 6: Web Page Creation

It says the font should be sans serif you dont put

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ing in between the curly braces applies to the body section of the document. The first two lines in there are about the text color. They say that the color (of text) in the body should be navy, and the background color in the body should be #ffff66. What the heck is that? Well, it’s the hexadecimal value of the red, green, and blue components of a color: ff for red, ff for green, and 66 for blue. As it turns out, this is yellow. The next line is specifying the font face for the body. It says the font should be sans-serif. You don’t put the style section anywhere; it goes in the heading section of your document. So, our expanded heading section should look like: <head> <style type=”text/css”> body { color: navy; background-color: #ffff66; font-family: sans-serif; } </style> </head> This isn’t all you can do, of course. Another thing you may want to do is specify le...
View Full Document

This lab report was uploaded on 03/13/2014 for the course CS 15 taught by Professor Staff during the Summer '08 term at UC Davis.

Ask a homework question - tutors are online