CIT597 Quiz 1
Fall, 2003 |
Name_________________________________________ |
Please keep all answers short and to the point. Read each question and answer
it; don't add information that wasn't asked for.
- (10 points) What does each of the following acronyms stand for?
- HTML
- W3C
- XML
- DTD
- CSS
- (10 points)Write the HTML required to produce the following table:
| Good |
Evil |
| Sun |
Microsoft |
| Java |
C# |
- (10 points) There is an image file, smiley.gif, in the same directory
as an HTML file. Write the HTML you would use to insert the image into the
HTML file, and display the text "Smiley face" on those browsers
that don't download images.
- (5 points) Briefly, what is the main purpose of XML?
- (5 points) Complete this sentence: To be valid, an XML document must
be well-structured and must also...
- (20 points) To be well-structured, XML documents must follow several
rules. Give four and only four of these rules.
- (5 points) There are two general problems with DTDs. What are they?
- (5 points) Briefly, what is the main purpose of CSS?
- (15 points) Tell, in English, what each of the following CSS rules do:
- i { color: blue; }
- * { color: red; }
- h1, h2, h3 { text-align: right; }
- (15 points) Briefly describe each of the following CSS terms. Draw a picture
if it helps you explain.
- border
- margins
- padding