IT 130 -- Midterm Exam
April 24, 2008
Part A: Short Answer Questions. Insure that all of the HTML code that you
write is XHTML complent.
1. (3 pts.) Show the XHTML tag that represents a linebreak.
2. (10 pts.) List the differences between HTML and XHTML.
3. (3 pts.) Where does the
tag go on an HTML page?
4. (3 pts.) Where does the browser display the title created in Problem 4?
5. (3 pts.) What are file permissions?
6. (5 pts.) Why are file permissions important for a website hosted on a
server?
7. (3 pts.) Who is credited with inventing HTML?
8. (3 pts.) Where and why was HTML invented?
9. (3 pts.) Why are uppercase letters and space characters not a good idea in
web pages and images that will be uploaded to the server.
10. (3 pts.) Who is credited with inventing packet switching?
11. (3 pts.) Why is packet switching important for the modern internet?
12. Duplicate question.
13. (3 pts.) What do the HTML special symbols and > mean?
14. (3 pts.) In the following document-level style, identify the element,
the property and the value.
h1 { font-family: Papyrus; }
15. (8 pts.) Explain the role of each of these software products in the
process of editing, uploading and testing a website on a server.
a. PSPad
b. SSH
c. Internet Explorer
The following navigation architecture applies to questions 12, 13, 14 and 15.
0 public_html
1 intro.htm
1 banner.gif
1 cats
2 lions.htm
2 tigers.htm
1 primates
2 apes.htm
2 chimpanzees.htm
1 countries
2 kenya.htm
2 india.htm
1 images
2 tiger.jpg
2 chimpanzee.jpg
12. (3 pts.) Write a hyperlink tag that jumps from the current page intro.htm
to the target page kenya.htm.
13. (3 pts.) Write a hyperlink tag that jumps from the current page india.htm
to the target page tiger.htm.
14. (3 pts.) Write an image tag that displays the image tiger.jpg on the
current page intro.htm.
15. (3 pts.) Write an image tag that displays the image banner.gif on the
current page apes.htm.
16. (10 pts.) Write a document-level style that does the following:
Sets the background color of the body to azure, the text
color of the body to navy, the font to italic Forte, the
font size to twice as large as normal.
17. (15 pts.) Correct the errors in the following source code to make it
XHMTL compliant.
My Web Page
This is the first sentence on this page.
This is the second sentence on this page.