CSc 473 Spring 2008

 

HW1, due Tuesday, Feb 5, will be to produce a Web page with the following characteristics:

All style information is to be placed in an external style sheet. You decide how large to make the heads, and what fonts and font sizes to use throughout. The font or font size for the definition list would not have to be the same as those for the rest of the body, if you wish.

All the techniques you need are explained in the appendix, but if you don't have a copy of the text you could learn everything by studying the examples from the appendix materials on the course CD.

NOTE: you may NOT use a table to get the effect of the definition list; you must never position things by hitting the space bar until they look about right, and the <pre> is not acceptable here. There will be no legitimate use of the <br> tag in this HW.

Indenting the first line of each paragraph is a simple matter of including a rule for the <p> tag:

 

p {

  text-indent: 2em;

}

 

Plus anything any other declarations you may have in your <p> rule, of course. I’ve specified the amount of indentation with the em, a relative measure, but you could use inches, centimeters, points, and others. See the MeasuresOfLength example in the appendix.

You submit an HTML file and a CSS file, to Blackboard. If you know how to do that, be prepared to help the rest of us!