Intro to Web Design - Page 2 Assignment
Spec sheet 1
Basic HTML Web Site using CSS
Assignment Criteria
Using a Word editing software such as Notepad or TextEdit create
HTML and CSS files to display the following features:
HTML HTML CODE
- Create html page called "page2.html".
- On this page place your name at the top using h1 tags.
- Place text on it's own line "CSS Basics".
- • Place photo of CSS Basics in a paragraph directly below your name.
• Make it a link to page1.html".
• "p img" tag will control the border for this photo.
- Create a Hypertext link on it's own line that links to "page1.html".
- Place photo of dog on it's own line. Apply ID to img tag.
- • Create a table with 1 row and 2 columns.
• Place PNG cookie box image inside right table cell.
• Place text in left table cell.
• Apply class style to table to create a background colour.
CSS Stylesheet CSS CODE
Create new style sheet for this page and save it in the css folder on your site. Call it "page2.css".
- Create 3 new tag styles in stylesheet file to be applied
(h1, p & p img) each with a unique color property.
- Create a:link & a:hover tag properties using color and text-decoration properties.
- Create 2 new class styles in stylesheet file to be applied to "CSS Basics" title (colour & size) & table (background colour).
- Create 1 ID styles to be applied to dog photo. set border size, style and different colour for each side.
|