HTML and WEB DESIGN COURSE, 2003--2004 academic year: Lesson 15
LESSON 15: ALIGNING IMAGES
Study the index cards on Aligning Images. I've included a hard copy of these
index cards, for your convenience.
Be sure you can answer all the questions!
What does the attribute HSPACE in an IMG tag stand for?
What does the attribute VSPACE in an IMG tag stand for?
Write the code to produce the following:
This picture of Tigger is pushed to the left margin, and there are 50 pixels of space between the graphic and the text. After this sentence, I want the text to resume 30 pixels below the graphic.
Now, the text is 30 pixels below the graphic.
Write the code to produce the following:
Tigger has his middlealigned with these words. There
are 60 pixels of space to the left and right of the image, and 20 pixels of space above and below.
Please read pages 5658 (from "Uploading Documents (FTP)" to the end of Chapter 4) in the Weasel book and answer the following questions:
What is the most common transaction that a web designer will have with a web server?
What protocol is used to transfer files between computers over a network?
Are FTP functions built into some full-featured web authoring tools?
Before you begin to upload files, what must you have?
What types of "transfer modes" are there when you are uploading a file?
What is an ASCII file composed of?
What is another name for an ASCII file?
What transfer mode should be used for HTML documents?
What is a binary file composed of?
What are some examples of binary files?
What are some other names for a binary file?
How should graphics (.gif, .jpeg) and multimedia files be transferred?
Study Table 4-1 on page 59. What type of file has extension ".exe", and should it be transferred
as an ASCII or binary file?
Study Table 4-1 on page 59. What type of file has extension ".rtf", and should it be transferred
as an ASCII or binary file?
Study Table 4-1 on page 59. What type of file has extension ".pdf", and should it be transferred
as an ASCII or binary file?
Study Table 4-1 on page 59. What type of file has extension ".zip", and should it be transferred
as an ASCII or binary file?
The words "put" and "get" are used in FTP terminology for uploading and downloading files. Does
"put" refer to uploading or downloading? How about "get"?
There are various "permissions" attached to every uploaded file. What do these permissions control?
What does it mean to "write" a file?
What does "MIME" stand for?
What was MIME originally developed for?
When a server "serves up" a file to a browser, what information does it include? What is this information used for?
"Types" are the most broad categories for files. List five common file "types".
What "type" of file is a Microsoft Word document? (Don't worry about the subtype.)
What "type" of file is an HTML document?
What "type" of file is a Microsoft Excel File? (Don't worry about the subtype.)
What "type" of file is a QuickTime movie?
THE QUIZ OVER THIS LESSON WILL CONSIST OF:
Coding part:
(10 pts) Aligning images, with desired horizontal and vertical space around them.
(3 pts) Show me that you've marked the answers to all the questions in your text book.
(15 pts) Questions from the index cards and reading (see below).
There will be 20 randomly-chosen questions; you will cross off 5 questions.
The remaining 15 questions are worth 1 point each.
Prepare for the quiz over this section by practicing below.
Questions are asked in random order.
You can generate a printable quiz with solutions.