CPSC 371, Fall 2001 Information for the Third Test --------------------------------------------------------------------------- The third test in this course will be given in class on Wednesday, November 28. I will hold extra office hours on Tuesday, November 27, from 1:00 until 4:00. The test covers everything that we've done in class and in lab since the previous test. That is, it will cover Cascading Style Sheets, JavaScript, and XML. In addition to this, you might expect one or two summary essay questions about Web site programming. Here are some of the specific things you should know: CSS: separating presentation from content linking from an HTML document to an external style sheet in-line styles, as in

"class" attribute, as in "block" elements vs. "inline" elements

and syntax for setting styles, e.g.: color: red; font-weight: bold; syntax for style sheets: selector { style_setting } basic selector types: tag-name: h1 { text-align: center; } nested tags: p span { color: #cc00cc } classes: .javacode { font-family: monospace; color: blue; } pseudo-classes a:link, a:visited, a:active, :hover basic styles: font-size, font-style, font-weight, margin, padding, border, background-color, text-align, width,float JavaScript: comparison with PHP client-side vs. server-side programming variables in JavaScript; using "var" to declare variables functions in JavaScript document.writeln the