Computer Science and Computer Engineering 120
Computer Information Systems
Fall 2006
Lab 8
Labs 8 and 10* are a two-part lab where you are to create a home page. Lab 8 asks you to start it and demonstrate some more knowledge of HTML and intermediate knowledge of CSS. Lab 10* will ask you to complete the home page by adding such things as hyperlinks and images. You will then upload the file to Sage so that can be viewed on the Internet.
Review class notes and chapters 1-4 of the XHTML book.
The "Useful Resources" page
http://www.cs.plu.edu/courses/csce120/fall06/websources.html
contains links to a number of sources. For help with styles and CSS, please refer to
http://www.cs.plu.edu/courses/csce120/fall06/CommonCSSwithStyle.html
for common CSS attributes. The link
http://www.w3schools.com/css/
provides more detailed information on CSS and is a tutorial. It is suggested that you begin by
viewing and copying/saving the source of the blank template file
http://www.cs.plu.edu/courses/csce115/fall06/download/xhtml/template.html or possibly
http://www.cs.plu.edu/courses/csce115/fall06/download/xhtml/ValidationCheck.html. Remember
that when downloading a .html file, avoid doing a "Save as" in the "File" menu. Instead, use a "Page source"
or "Source" in the View menu and then save or copy the file.
Create home page in XHTML. It should be named "home.html". Make sure that the page has some theme and is not just a jumble of XHTML that satisfies the individual requirements that follow. Remember that the page will be available to anyone on the internet and should be suitable for viewing by anyone.
Of course, you can add additional tags, if desired.
Note: In lab 10*, you will be asked to extend this lab with an additional paragraph, more CSS, images, and additional hyperlinks. If you keep this in mind while creating a page for this lab, extending this lab to satisfy lab 10* is much easier. For example, you could add an extra paragraph in this lab. You can plan your images even though you might not add them at this point.
Validate your page by submitting it for validation. If successful, you can add the W3C XHTML 1.0 icon shown on the bottom of this page (or start with the ValidationCheck.html template). Suggestion: if you decide to do this option, validate frequently as you create the page. Trying to fix a long page with lots of errors is much harder than fixing a shorter page with only a few errors. (3 extra credit points.)
To claim your extra credit either add the XHTML1.0 icon or add a short paragraph just before the end of the body to specifying that you did this option to make sure the paper grader notices your extra effort.
Content is important in this lab. Using correct XHTML is also very important. For example, a few of the things to consider include:
Your webpage will be graded on how well it follows its theme, grammar, meeting the requirements, correctness of the XHTML, general looks, and the impression its gives the reader.
Tuesday, Nov. 7. There will be a 24 hour grace period. After the grace period late submittals will not be accepted except with written permission from the instructor and will be subject to a 20% per day. (Late assignments turned in over 24 hours after the due date are 2 days late and are subject to a 40% penalty.)
Revised: Oct. 31, 2006