Name:     ID: 
 
    Email: 

Web Page Design - Chapter 8 - Links & Images Examination

True/False
Indicate whether the sentence or statement is true or false.
 

 1. 

A link is a pointer to another file on the WWW.
 

 2. 

The HREF attribute specifies the URL that will be loaded when the link is clicked.
 

 3. 

Internal links always use absolute URLS.
 

 4. 

Intrapage links are examples of internal links.
 

 5. 

To link from your school Web site to Yahoo, you would use an internal link.
 

 6. 

To link from your school Web site to Yahoo, you would use an absolute URL.
 

 7. 

In an absolute URL, the Web server name and the protocol are both used.
 

 8. 

It is good practice to use ALT attributes on all images on a Web site.
 

 9. 

Using the HEIGHT and WIDTH attribute for the image tag, can actually increase the amount of time needed to load the Web page.
 

 10. 

Links can be relative to the root or another file in a Web site.
 

 11. 

There are two main types of links: external and internal.
 

 12. 

Without the HREF attribute, a link will not be able to link to another document.
 

 13. 

Links can be created using protocols other than HTTP.
 

 14. 

To link between two pages in the same site, you could use relative URLs.
 

 15. 

Images can be used to link to other pages of a Web site.
 

Multiple Choice
Identify the letter of the choice that best completes the statement or answers the question.
 

 16. 

Which is a properly coded absolute link to Yahoo?
a.
<A NAME= “http://www.yahoo.com”>Yahoo</A>
b.
<A HREF= “www.yahoo.com”>Yahoo</A>
c.
<A HREF= “http://www.yahoo.com”>Yahoo</A>
d.
<A NAME= “../www.yahoo.com”>Yahoo</A>
 

 17. 

Which is a properly coded link that is relative to the root of the Web site?
a.
<A HREF= “page.htm”>Link</A>
b.
<A HREF= “/page.htm”>Link</A>
c.
<A HREF= “../../../page.htm”>Link</A>
d.
<A HREF= “#page.htm”>Link</A>
 

 18. 

Which is an external link?
a.
<A HREF= “page.htm”>Page</A>
b.
<A HREF= “../page.htm”>Page</A>
c.
<A HREF= “/page.htm”>Page</A>
d.
<A HREF= “http://www.yahoo.com”>Yahoo</A>
 

 19. 

When writing relative links, what does the shortcut ../ indicate?
a.
begin at the root
c.
go up one folder level
b.
go down one folder level
d.
none of the above
 

 20. 

Which is a properly coded intrapage link?
a.
<A HREF= “#section”>Page</A>
c.
<A HREF= “/page.htm”>Page</A>
b.
<A HREF= “#/page.htm”>Page</A>
d.
<A HREF= “section”>Page</A>
 

 21. 

Which demonstrates the proper way to insert an image into a Web page?
a.
<IMG = “baby.gif”>
c.
<IMG HREF= “baby.gif”>
b.
<IMG SRC= “baby.gif”>
d.
<A HREF= “baby.gif”>
 

 22. 

What is the purpose of the ALT attribute of the image tag (<IMG>)?
a.
to specify text that will appear if the user has images turned off
b.
to specify text that will be read if a screen reader is being used
c.
to specify text that will appear if the image does not download properly
d.
all of the above
 

 23. 

A thumbnail image is ____.
a.
an image used when another is not available
b.
one that is used for links
c.
a smaller image representation of a larger image
d.
one whose border is set to zero
 

 24. 

Why is it important to use accurate sizes for HEIGHT and WIDTH attributes on the image tag?
a.
Providing these attributes will help the page load faster.
b.
It is considered good practice.
c.
Providing these attributes will help the page to not look distorted in the browser.
d.
All of the above
 

 25. 

What usually happens when a link using a protocol other than HTTP is clicked?
a.
A helper application is launched by the browser to handle the request.
b.
The browser handles the request.
c.
The link usually does not work.
d.
None of the above
 

 26. 

Which attribute of the image tag will prevent a blue border from showing up on an image that is used as a link?
a.
BORDER = “None”
c.
BLUE = “None”
b.
BORDER = “0”
d.
BLUE = “0”
 

 27. 

Which is a properly coded link that is relative to another file of the Web site?
a.
<A HREF= “http://www.site.com/page.htm”>Link</A>
b.
<A HREF=”../../../page.htm”>Link</A>
c.
<A HREF= “http://www.yahoo.com/page.htm”>Link</A>
d.
<A HREF= “#page.htm”>Link</A>
 

 28. 

Which is the proper way to code a link that uses the FTP protocol?
a.
<A HREF= “http://ftp.somesite.com”>Some Site</A>
b.
<A HREF= “ftp://ftp.somesite.com”>Some Site</A>
c.
<A HREF= “ftp.somesite.com”>Some Site</A>
d.
<A FTP= “http://ftp.somesite.com”>Some Site</A>
 

 29. 

What is the proper way to code a link that will allow a user to send e-mail?
a.
<A HREF= “mailto.com”>Send Me Mail</A>
b.
<A HREF= “someone@somewhere.com”>Send Me Mail</A>
c.
<A HREF= “mailto:someone@somewhere.com”>Send Me Mail</A>
d.
<A HREF= “pop:someone@somewhere.com”>Send Me Mail</A>
 

 30. 

Which is the best way to insert an image on a Web page?
a.
<IMG SRC= “baby.gif”>
b.
<IMG SRC= “baby.gif” ALT= “baby picture”>
c.
<IMG SRC= “baby.gif” ALT= “baby picture” HEIGHT= “100”>
d.
<IMG SRC= “baby.gif” ALT= “baby picture” HEIGHT= “100” WIDTH= “200”>
 



 
Submit          Reset Help