Building a page with html and css
You are going to build a home page for the Gabriola Bridge Society. Here are the steps:
1. html
- Open up a new template and save it in your folder as index.html
- Fill in the title in the head
- Link to a style sheet. Let's call it gbsstyle. Remember that the extension has to be css
- In the body section create the following menu by making an unordered list:
home
about us
current projects
news
links
contact us
- Create a link for each of the pages in your list
- Create a page title, Gabriola Bridge Society
- Write a welcome-to-our-site paragraph of about 3 to 4 sentences
- On the web, find an image of a bridge you like. Copy it to your images folder
- Include an image of the GBS's proposed bridge on your GBS home page
- Include another paragraph of three or four sentences promoting membership in the GBS
2. css references
Use the following links for reference to css coding:
css reference
css examples
W3Schools Home Page
3. css styles
- Create a css page. Call it gbsstyle.css
- Style each of the components in your web page: background colour, heading, unordered list with links to other web pages on the site, paragraphs
4. css page layout
- On paper, sketch a layout for your page
- Introduction to the CSS Box Model
- Examine this example of a horizontal menu
- Examine this example of a page layout
Back to the home page