This page contains a single entry from the blog posted on November 12, 2006 7:50 PM
The previous post in this blog was Banner Ads
The next post in this blog is Project 1 Wrapup
More entries can be found on the main index page or by looking through the archives.
HTML & CSS: Putting it all Together
By now the majority of Middle School students will have an HTML document with code resembling the following:
Read on to find out more on how you should be finishing off the formatting of your HTML pages...
You'll notice that the one element you haven't yet added to your pages are these lines:
Those lines call an external CSS file (a style sheet). That fine will contain all the information about the style of our document. The HTML page is responsible for containing the content. So, HTML (content) + CSS (style) = a readable web page across many platforms and browsers.
CSS is coded slighty differently from HTML, like this:
The code above will change any h1 (header level 1) tags you have in your HTML document to green text. Think of how you can use CSS to style your document.
Links that will aid you:
- Webmonkey HTML Cheatsheet
- Webmonkey CSS Reference
- Webmonkey CSS Examples
- Our southbank.net stylesheet
Remember: stylesheets and images will not work in this particular example unless they live in the same folder as the HTML file.
Posted by JCh in Grade 6 and Grade 7 and Grade 8.
Permalink