Step 1:
- A doctype tells the browser what to do do.
- A hyperlink is a shortcut link to go to a url.
- Do not use wordprocessor because they typically make files that a Web browser cannot read.
Step 2:
- the selector which tells the browser which part of the document is affected by the rule.
- The color property sets the text color and the background property sets the background color.
- body tag { background-color: #d8da3d } makes it yellow.
Step 3:
- The Helvetica font will appear on the h1 heading
- You should include the name of four fonts for the heading and the other text to make it more attractive
Step 4:
- The CSS properties we use for that are 'padding-left' (to move the body text) and 'position', 'left' and 'top' (to move the menu).
- The 'em' is a very useful unit in CSS, since it can adapt automatically to the font that the reader happens to use.
- All the li tags that pass the li.nav is affected.
Step 5:
- It changes the color of the text of the link.
- It changes the color blue font for links that the user hasn't seen yet and purple for links already visited (lines 13-15 and 23-33):
- They are called “pseudo-classes” to distinguish them from class attributes, that appear in the HTML directly.
Step 6:
- Two other border types are dashed and groove
Step 7:
- A seperate style sheet is useful for a large site because the css can be used for all the webpages
- The tag to link a file called "newstyle.css" is
My first styled page
Welcome to my styled page!
It lacks images, but at least it has style.
And it has links, even if they don't go
anywhere…
There should be more here, but I don't know
what yet.
Made February 8, 2011
by Tomas Hernandez.