Professional Documents
Culture Documents
Objectives:
At the end of this project, you will be able to:
• Organize your site by moving files into subfolders.
• Use relative paths to link to CSS and image files.
Instructions:
1. Create a new folder called "Site Organization".
2. Copy all the contents of the "Photo Gallery" folder into the "Site Organization" folder.
3. Create a new, completely blank file in Notepad and save it to the same folder as "style.css".
4. Add the following styling to the blank external CSS file just created:
a) Center all elements on the page using the <body> element and the text-align property.
b) Make <h1> headings display in orange color.
c) Add a solid black border (2 pixels wide) around all images.
d) Bold all link text.
e) Make all link text show in red color when being moused over.
f) Set the margins for all paragraph elements to be 20px on the bottom and zero for the
remaining three sides.
g) Make all paragraph text show in 18px font size and in bold letters.
5. Edit each of the six XHTML files and add a line just before </head> that links to the external
style sheet file.
6. View the web pages in a browser and verify that the CSS styling is being applied to all pages.
7. Create two new subfolders named “css” and “images” within the “Site Organization” folder.
8. Move the CSS and image files into the appropriate subfolders.
9. Now try viewing the web pages again in a browser. Are the images visible? Are any of the CSS
styles being applied?
10. Edit each of the six XHTML files again and modify the CSS and image paths to be relative
paths to their new locations.
11. View the website in a browser once more. Navigate through all the pages. Verify that all
images are visible and that the CSS styles are being applied across all pages.
Rubric 17: Site Organization
Name: ____________________________