COIN 65 Logo
This page contains the materials needed for Internet Technologies - COIN 65 taught by Sandi Watkins.
View the forum for updates and announcements. View my blog for the same!
Sandi's Blog | Schedule | ETUDES | Forum | Class Sites | Syllabus | Resources | CTIS | Foothill
Homework 1 - Build Your Home Page (15 points)

Due Date: Wednesday January 24, 2007 by 10:00 PM (week 3)

This project will be completed in two stages.

This week you will create a simple and valid XHTML document with no styles, except where instructed below.

In week 2 you will receive additional instructions for styling specific portions of this document. You will then upload the document to your CTIS web space.

Although this assignment is not due until week 3, you will gain the most benefit from this assignment if you start early, giving yourself plenty of time to think about the process. Start now!

Create the basic XHTML document by following the instructions below.

Homework Guidelines

Specifics

Centering Content in the Header and Footer

Notice, in the image of the example page below, that the content in the header and footer sections is centered. Under the XHTML Transitional DTD used in the COIN 61/63 courses, elements would be centered using an HTML attribute. For example:

<p align="center">Your Name Here</p>

Under the XHTML Strict DTD used in this course, the align HTML attribute has been deprecated. Thus, align cannot be used; applying this attribute will cause an HTML validation error ... all assignments in this class must pass validation before being submitted.

The solution is to use CSS to center the content. Although you are not to use CSS for this assignment, using CSS to center the content is allowed for centering the header and footer.

One of the major advantages to using DIV elements for specific content is that you can then style a DIV. Because DIV elements are block-level containers, child elements within a DIV then inherit those properties. This is an example of Cascading/Inheritance which is the "C" in CSS and is covered in more detail later in the quarter.

So, to make all of the content inside a DIV centered, you simply do this:

<div id="header" style="text-align: center;">

Setting the WIDTH of an HR

Under the XHTML Transitional DTD, you specify the width of a horizontal rule using the width HTML attribute. For example:

<hr width="60%"  />

However, the width HTML attribute is deprecated under the strict DTD, and will cause a validation error. You must use styles to accomplish the same effect. Either of the following is legal:

<hr style="width: 300px;"  />
<hr style="width: 40%;"  />

The Logo Image at the Top and the Links

DO NOT use an image map for the links at the top and bottom of the page. Instead, the links should be text links... we will cover how to style them later. For now, just create normal A HREF type links and use relative links to these pages from your account on the CTIS server (covered in week 2) to our pages on the COIN 65 site.

You are free to create your own image for the logo at the top of the page. You may use our image as displayed directly below. Simply drag the image below to your desktop. The size of the image is 516 x 52 pixels.

Sample COIN 65 header image

An Example of a Completed Assignment

You will create a page that resembles the image below. Remember that this is a scaled image and much larger in real life! Again... do not sweat the small details, you will update your file during the second week! Use clean and valid XHTML code with no CSS, other than the exceptions noted above.

Example of completed assignment

Submitting this Assignment

This assignment is due at the start of week 3.

You will receive additional instructions during week 2 which will include specific styling you will need to add. During week 2 we will cover your CTIS web space and the procedures for accessing and uploading your file(s).

Get started on this document NOW!

 

Top | Sandi's Blog | Schedule | ETUDES | Forum | Class Sites | Syllabus | Resources | CTIS | Foothill
This site is best viewed with a "modern" browser - Firefox, Netscape, Opera, Safari (not IE 6 or below)
For best results, install the following plug-ins: Adobe Acrobat Reader, Quicktime, and RealAudio.
Copyright © 2006-07 Sandi Watkins & Greg Mcilhiney
Internet Technologies Department / Computers, Technology & Information Systems Division
Last Update: Saturday, April 7, 2007 at 6:56 AM