CSS Week 1

1. Two good reasons for learning CSS are that it allows the web page designer more flexibility and control over their pages and it is not necessary to type in long HTML coding to make certain areas of your pages look the same.

2. The 4 different types of Style are: inline, embedded, linked and imported.

3. A semicolon should ALWAYS follow a value in your style declaration.

4. To create a heading that is blue, underlined and 18 pt. in size you would enter the code with your h heading, then style, then =", then color:, then your number sign with the 6 digit hexadecimal code for a blue color followed by a SEMICOLON, then add another prperty and it's value for underlining using text-decoration: then underline; and for the font size you would add font-size: 18pt; and finally closing with a ">.

This is what it would look like!

5. If you have a font name that is more than one word you must use single quotes around it. This enables the browser to read it as one string rather than breaking it up such as Vladimir script would be 'Vladimir Script' and would be read as such instead of Vladimir and then Script.

6. You DO have to worry about closing HTML tags when using CSS. All tags that are opened MUST be closed in CSS just as in HTML.



     
Week 2 Lesson
Week 3 Lesson
Week 4 Lesson
Week 5 Lesson
Week 6 Lesson

  Home~~~~ Email me!