My first styled page
Step 1:
- The doctype tag means Document Type, it tells the browser which type of HTML is this
- Hyperlink is a link that link to other pages of our website.
- Because they make files that a Web browser cannot read.
Step 2:
- Selector is which tells the browser which part of the document is affected by the rule.
- The 'color' property sets the color of the text for the body element.
- The tag.
Step 3:
- The Helvetica font will appear in the H1 heading.
- If the font is not working on some people's browser, so it could have some alternitive fonts to use.
Step 4:
- Use the padding property to move the body text.
- "em" means how many times the size of the current font.
- All the li tags that pass the li.nav is affected.
Step 5:
- It changed color as the mouse slide through.
- It made no effects on the text.
- They distinguish from class atributes, that appear in the HTML directly.
Step 6:
- Dashed border and double border.
Step 7:
- Because everytime we create a new page, we can always link the style to the external file, so we don't need to retype the style again everytime.
- <.link rel="stylesheet" href="mystyle.css">
Made February 8, 2011
by Winnie