\n"); } else { header("Content-type: text/html; charset=utf-8"); } ?>
In this assignment, you are to “flesh out” your web site with some dummy content, including a “stock” image. You will also explore some page layout techniques. In particular, you are to implement a “sidebar” design for the navigation links.
At this point the three pages you added for Assignment 6 all consist of an h1, a ul for the list of navigation links, and a p containing the two validation links. Now, on all three of the new pages (not on the term paper):
Of course, it would have been easier to do this as part of Assignment 6: you could have set up one page with this structure, and then duplicated it for the other two. But we didn’t.
Each page gets it’s own structured content:
Pretend this is the personal web page for a student. Add some subheadings (at least two), some dummy (Lorem Ipsum) text, (at least 4 paragraphs), and anything else you think a savvy college student might put on his/her home page.
Somewhere on the page, include a picture of this student. Go to http://istockphoto.com, search for pictures of students, pick one suitable for your web page, click on the “download a comp” link, and save the file in your site’s images folder. Note that you do not need to purchase anything or even to register with iStockphoto to do this. The picture will have a watermark to prevent unauthorized use; you only have to pay them if you want to get a picture without the watermark. The picture on your home page must have the iStockphoto watermark on it. (There are many good stock photo web sites, but for this assignment, use iStockphoto so I will see the watermark.)
In the content div of the Blog page, put an ordered list. Set up the first li with an h2, a p, a div, and another p, in that order.
Fill in the h2 content with an English title for a blog entry. Fill in the dateline paragraph with a date in a span and an author’s name in another span. Fill in the blog-entry-content div with two paragraphs of Lorem Ipsum text. Fill in the footer with a dummy anchor tag that says, “Read more …”.
Make sure the blog page has no XHTML errors or warnings, then make 3–4 copies of the blog entry list item. It’s all right to leave them all the same.
For this assignment, you do not need to make a new stylesheet; you can continue to use assignment_06.css. Verify that all three web pages and the stylesheet validate using the W3C validators before proceeding.
Once you have set up your web site and tested that both the XHTML and CSS links at the bottom of the page give you no warnings and no errors, log out of your account so your site will be copied to the server. I will copy your site from the server to the computer in my office (babbage) to check it out.
Remember: even if your site validates perfectly, you still have to make sure that all the CSS rules actually work as you intended. Testing your web page and fixing any unexpected appearances is a critical component of all the assignments for this course.
When you finish your assignment, send me an email message telling me that it is ready. Use CS-081 Assignment 7 as the subject line. Make it look just like that to avoid my spam filters. Send the email to: vickeryatbabbage.cs.qc.cuny.edu.