Lecture Notes for 09.22.05
CISC103
(0) CSS Properties
For example, in the style sheet below:
In this style sheet, both color and font-family are called
"properties".
Some other important properties (worthy of memorization,
though I would not expect you to memorize ALL of the dozens
of properties in CSS)
font-size
font-family
background-color
font-weight
color
Some values for font-family (generic cnes)
serif
cursive
sans-serif
fantasy
monospace
(2) Reading notes online... working towards
a midterm in 3 weeks or so...
Right now, the link is to ch04.xml
I will update where this points periodically.
(3) Validation
The whole purpose of standards is to be able
to be sure that a web page conforms, which means
that it is more likely to work on lots of different
browsers, and more likely to continue to work well
as equipment, devices, software, etc. change
over time.
validator.w3.org is a place you can go to
check if a web page is valid.
We checked the http://copland.udel.edu/~pconrad/cisc103
and found 5 errors.
We fixed them...
In some sense, there were only two errors:
(a) I wasn't using & instead of & inside
the URL that was pointing to the JSP
page for the official UD Catalog
course description...
I just did a cut and paste after going to
the "course description" page off the main
UD web site, and came up with:
http://chico.nss.udel.edu/CourseDesc/courseInfo.jsp?&year_from_to=20042005&course_id=CISC103
I just pasted that into my web page in the
tag... what I should have done was to convert the & symbols into &
(b) The second problem was that in my link to my own
home page:
Phillip Conrad
I needed quotation marks around the value of my href attribute.
That turned into 5 error when I validated.. so if you
see a report that says 271 errors, don't panic... always fix
the first problem in the file... that might cause several
errors to go away. Three underlying errors in your coding
can result in 271 errors reported, if the errors are in
a particularly sensitive place.
(3) In the reading notes for section 4.3 it mentions a
bunch of yada yada yada at the top of the XHTML examples
in the pink book... and it says that you'll be told in
Chapter 20 what it all means.
I'm going to tell you now
It is a way of signalling to a validation service
such as validator.w3.org which "standard" you are
aiming for.
The example in the Pink book uses:
which is a very up-to-date 21st century standard.
My own CISC103 home page is written to a old
20th century standard:
and, as we saw today, I only "just now" got it up to snuff.