Name: 
 

Skills Practice - HTML/XHTML - Tutorial 2



True/False
Indicate whether the statement is true or false.
 
 
nar001-1.jpg
 

 1. 

To produce the middle dots surrounded by the nonbreaking spaces shown in the figure above, the special character code · is used.
 

 2. 

Id names are case-sensitive.
 

 3. 

Adding an id does not change a document's appearance in any way.
 

 4. 

Adding an id creates locations in your Web page that become destinations of links.
 

 5. 

You use the <L> tag to create a link within a document.
 

 6. 

The id name "EMP" is the same as "emp".
 

 7. 

You should be careful to make each id name unique within a document.
 

 8. 

If a browser finds duplicate id names in an XHTML document, it does not report an error.
 

 9. 

You should write a link to an id as:
<a href="#new"><h2>New Material</h2></a>
not as:
<h2><a href="#new">New Material</a></h2>
 

 10. 

You should not insert any block level elements within a link.
 
 
nar002-1.jpg
 

 11. 

The structure shown in the figure above is a hierarchical structure.
 

 12. 

In the structure shown in the figure above, you can jump only from one page to the next or previous page.
 
 
nar003-1.jpg
 

 13. 

The structure shown in the figure above is an augmented linear structure.
 
 
nar004-1.jpg
 

 14. 

The structure shown in the figure above is a linear structure.
 

 15. 

You can combine linear and hierarchical structures.
 

 16. 

The best time to organize a structure is when you first start creating pages, when those pages are small in number and more easily managed.
 

 17. 

Like creating hypertext links between elements on the same page, the process of linking to a document on your computer does not require you to set an anchor in a file to link to it or to create an id attribute.
 

 18. 

For some Web servers, the case (upper or lower) of the filenames in the href attribute of the <a> tag is important.
 

 19. 

Browsers assume that if no folder information is given, the file is in the same folder as the current document.
 

 20. 

In some situations, such as when working with large Web sites, you might want to place different files in different folders to help you stay organized.
 

 21. 

HTML supports two kinds of paths: relational and interpreted.
 

 22. 

Given the absolute pathname /tutorial02/index.htm, the index.htm file is in the tutorial02 folder.
 

 23. 

By default, each Web page you open is displayed in the main browser window, replacing the one you were viewing last.
 

 24. 

To force a document to appear in a new window, you add the target attribute to the <a> tag.
 

 25. 

Spammers create their lists through scanning usenet postings, stealing Internet mailing lists, and using programs called e-mail harvesters that scan HTML code looking for e-mail addresses.
 

 26. 

Each URL follows the same general form.
 

 27. 

All Internet resources use the same communications protocols.
 

 28. 

URLs for FTP servers follow the same format as those for Web pages.
 

 29. 

The URL for a newsgroup is news:newsgroup.
 

Modified True/False
Indicate whether the statement is true or false. If false, change the identified word or phrase to make the statement true.
 

 30. 

Spam is unsolicited junk e-mail sent to large numbers of people, promoting products, services, and in some cases, pornographic Web sites. _________________________

 

 31. 

A anchor title is descriptive text that appears whenever a user positions the mouse pointer over a link. _________________________

 

 32. 

To use an access key you hold down an origin key and then press the specified access key. _________________________

 

 33. 

The target attribute is not supported in strict HTML-compliant code. _________________________

 

 34. 

Two attributes, rel and rev, allow you to specify the relationship between a link and its destination. _________________________

 

 35. 

You link to an id using the id name preceded by a(n) &. _________________________

 

 36. 

Links containing the rel and rev attributes are called destination links because the tag contains information about the relationship between the link and its destination. _________________________

 

 37. 

The general rule is to always place anchors outside other block level elements. _________________________

 

 38. 

Before you set up links for navigating a group of Web pages, it is worthwhile to map out exactly how you want the pages to relate, using a technique known as storyboarding. _________________________

 

 39. 

When you create a link to a document on your computer, the filename serves as the target. _________________________

 

 40. 

HTML supports two kinds of paths: absolute paths and recalibrated paths. _________________________

 

 41. 

In an absolute path, each folder is separated by a slash. _________________________

 

 42. 

The semantic link relationship value begin references the first document in a collection of documents. _________________________

 

 43. 

To differentiate files located on different computers, HTML requires you to include the drive letter followed by a slash. _________________________

 

 44. 

Like absolute pathnames, a relative pathname does not begin with a slash. _________________________

 

 45. 

Once you know a document's URL, you can create a link to it by adding the URL to the <a> tag along with the link attribute in your text file. _________________________

 

 46. 

The exact separator that follows the communications protocol depends on the Internet resource. _________________________

 

 47. 

By convention, if the path and filename are left off the URL, the browser searches for a file named "index.htm" or "index.html" in the root folder of the Web server; this file is often the home page for the Web site. _________________________

 

 48. 

FTP is a collection of discussion forums that let users exchange messages with other users on a wide variety of topics. _________________________

 

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

 49. 

A hypertext link allow you to select to view the ____ of the link.
a.
destination
c.
resource
b.
index
d.
location
 

 50. 

A(n) ____ is an item you can select, usually by clicking a mouse, to view another topic or document.
a.
resource
c.
net
b.
link
d.
index
 

 51. 

An element that has had a(n) ____ name assigned to it can be the destination of a link.
a.
icon
c.
id
b.
key
d.
tag
 

 52. 

The ____ tag creates an anchor.
a.
<link>
c.
<an>
b.
<i>
d.
<a>
 

 53. 

You assign each anchor its own anchor name, using the ____ attribute.
a.
name
c.
link
b.
anchor
d.
identify
 

 54. 

To create a link to an anchor, you use the ____ attribute.
a.
name
c.
link
b.
href
d.
anchor
 

 55. 

You link to an id or anchor using the anchor name preceded by the ____ symbol.
a.
&
c.
#
b.
^
d.
%
 

 56. 

In a ____ structure, each page is linked to the next and to previous pages, in an ordered chain of pages.
a.
relational
c.
maximized
b.
hierarchical
d.
linear
 

 57. 

In a(n) ____ linear structure, you include a link in each page that jumps directly back to the first page, while keeping the links that allow you to move to the next and previous pages.
a.
augmented
c.
absolute
b.
relational
d.
navigational
 
 
nar005-1.jpg
 

 58. 

The Figure above shows an example of a(n) ____ title applied to a link.
a.
access
c.
alternative
b.
popup
d.
base
 

 59. 

A(n) ____ structure starts with a general topic that includes links to more specific topics.
a.
linear
c.
hierarchical
b.
augmented linear
d.
absolute
 

 60. 

In a(n) ____ structure, users can move easily from general to specific and back, but not from specific to specific.
a.
augmented linear
c.
relative
b.
linear
d.
hierarchical
 

 61. 

One way to activate a link is to assign a(n) ____ key to the link.
a.
access
c.
accelerator
b.
popup
d.
semantic
 

 62. 

When referencing a file located in a different folder than the link tag, you must include the ____ for the file.
a.
link
c.
anchor
b.
path
d.
map
 

 63. 

Which of the following is an HTML-supported kind of path?
a.
absolute
c.
interpreted
b.
relative
d.
Both A and B
 

 64. 

A(n) ____ path provides a precise location for a file.
a.
relative
c.
absolute
b.
interpreted
d.
indexed
 

 65. 

With HTML, absolute pathnames begin with a ____.
a.
slash
c.
comma
b.
period
d.
parenthesis
 

 66. 

In an absolute pathname, after you type the name of the folder that contains the file, you type a final ____ and then the filename itself.
a.
comma
c.
period
b.
slash
d.
parenthesis
 

 67. 

Which of the following absolute pathnames is interpreted as “the chem.htm file is in the tutorial folder, which is a subfolder of the tutorial02 folder”?
a.
/tutorial02_tutorial_chem.htm
c.
/tutorial02/tutorial/chem.htm
b.
tutorial02/tutorial/chem.htm
d.
tutorial02\tutorial\chem.htm
 

 68. 

If the absolute pathname for the chem.htm file is /tutorial02/tutorial/chem.htm, which of the following absolute pathnames is interpreted as “the links.htm file is in the same folder as the chem.htm file”?
a.
/tutorial02_tutorial_links.htm
c.
/tutorial02/tutorial/chem/links.htm
b.
/tutorial02/tutorialchem/links.htm
d.
/tutorial02/tutorial/links.htm
 

 69. 

Which of the following absolute pathnames is interpreted as “the rock.htm file is in the case1 folder, which is a subfolder of the tutorial02 folder”?
a.
/tutorial02/case1/rock.htm
c.
\tutorial02\case1\rock.htm
b.
tutorial02_case1_rock.htm
d.
tutorial02/case1/rock.htm
 

 70. 

Which of the following absolute pathnames is interpreted as “the parks.htm file is in the extra folder, which is a subfolder of the /tutorial02/case1 folder”?
a.
tutorial02 case1 extra parks.htm
c.
/tutorial02_case1_extra_parks.htm
b.
/tutorial02/case1/extra/parks.htm
d.
tutorial02/case1/extra/parks.htm
 

 71. 

To use an access key you hold down the ____ (in Windows) and then press the specified access key.
a.
Ctrl
c.
Alt
b.
F4
d.
Esc
 

 72. 

To differentiate the absolute pathnames to files that are located on different drives, HTML requires you to include the drive letter followed by a ____.
a.
comma
c.
slash
b.
period
d.
vertical bar
 

 73. 

A file named “chem.htm” in the tutorial02 folder on drive C of your computer has what absolute pathname?
a.
/C|/tutorial02/chem.htm
c.
/C/tutorial02/chem.htm
b.
/C|:tutorial02/chem.htm
d.
/C|tutorial02/chem.htm
 

 74. 

Most Web designers use ____ pathnames in their hypertext links.
a.
absolute
c.
interpreted
b.
relative
d.
regular
 

 75. 

A(n) ____ path specifies the location for a file in relation to the folder containing the current Web document.
a.
absolute
c.
relative
b.
interpreted
d.
regular
 

 76. 

As with absolute pathnames, folder names are separated by ____ in relative pathnames.
a.
commas
c.
ampersands
b.
periods
d.
slashes
 

 77. 

To reference a file in a folder directly above the current folder in the folder hierarchy, relative pathnames use two ____.
a.
periods
c.
ampersands
b.
commas
d.
slashes
 

 78. 

Which of the following relative pathnames is interpreted as “the index.htm file is in the folder one level up in the folder tree from the current file”?
a.
./index.htm
c.
/index.htm
b.
../index.htm
d.
__/index.htm
 

 79. 

Which of the following relative pathnames is interpreted as “the chem.htm file is in the tutorial subfolder one level up in the folder tree from the current file”?
a.
__/tutorial/chem.htm
c.
../tutorial/chem.htm
b.
/tutorial/chem.htm
d.
./tutorial/chem.htm
 

 80. 

Which of the following relative pathnames is interpreted as “the rock.htm file is in the same folder as the current file”?
a.
/rock.htm
c.
../rock.htm
b.
./rock.htm
d.
rock.htm
 

 81. 

Which of the following relative pathnames is interpreted as “the parks.htm file is in the extra subfolder, which is one level down from the current folder”?
a.
extra/parks.htm
c.
./extra/parks.htm
b.
../extra/parks.htm
d.
/extra/parks.htm
 

 82. 

To create a hypertext link to a document on the Internet, you need to know its ____.
a.
communications protocol
c.
relative pathname
b.
URL
d.
target
 

 83. 

A ____ specifies a precise location on the Web for a file.
a.
target
c.
URL
b.
relative pathname
d.
communications protocol
 

 84. 

To use an access key you hold down the ____ key on a Macintosh, and then press the specified access key.
a.
Alt
c.
Esc
b.
F4
d.
Ctrl
 

 85. 

Once you know a document’s URL, you can create a link to it by adding the URL to the ____ tag along with the href attribute in your text file.
a.
<a>
c.
<link>
b.
<anchor>
d.
Any of the above
 

 86. 

If you want an external document to be displayed in its own browser window, you can assign the ____ keyword to the target attribute.
a.
_same
c.
_this
b.
_blank
d.
_over
 

 87. 

The first portion of a URL identifies the ____.
a.
prototype
c.
protocol
b.
index
d.
resource
 

 88. 

A(n) ____ is a set of rules that governs how information is exchanged.
a.
prototype
c.
resource
b.
index
d.
protocol
 

 89. 

Web pages use the communication protocol ____.
a.
HTTP
c.
URL
b.
HTML
d.
FTP
 

 90. 

All Web page URLs begin with the letters “____”.
a.
html
c.
url
b.
http
d.
www
 

 91. 

Following the communication protocol, there is typically a separator, such as a colon and two ____.
a.
commas
c.
slashes
b.
periods
d.
ampersands
 

 92. 

In the URL http://www.mwu.edu/course/info.html#majors, the protocol is ____.
a.
http://
c.
/course/info.html
b.
www.mwu.edu
d.
#majors
 

 93. 

In the URL http://www.mwu.edu/course/info.html#majors, the server is ____.
a.
http://
c.
/course/info.html
b.
www.mwu.edu
d.
#majors
 

 94. 

In the URL http://www.mwu.edu/course/info.html#majors, the path and filename of the document are ____.
a.
http://
c.
/course/info.html
b.
www.mwu.edu
d.
#majors
 

 95. 

In the URL http://www.mwu.edu/course/info.html#majors, the id/anchor name is ____.
a.
http://
c.
/course/info.html
b.
www.mwu.edu
d.
#majors
 

 96. 

If the path and filename are left off the URL, the browser searches for a file named ____ in the root folder of the Web server.
a.
index.htm
c.
index.http
b.
index.html
d.
Either A or B
 

 97. 

____ servers can store files that Internet users can download, or transfer, to their computers.
a.
FTP
c.
News
b.
Usenet
d.
Telnet
 

 98. 

If you want all of the links in your document to point to a new window, you can add the target attribute to the ____ tag in the document’s header.
a.
<title />
c.
<html />
b.
<base />
d.
<head />
 

Completion
Complete each statement.
 

 99. 

By clicking a(n) ____________________ with a mouse you can view another topic or document.
 

 

 100. 

The document that displays when a link is clicked is often called its ____________________.
 

 

 101. 

One way to reduce ____________________ is to replace all e-mail addresses in your page text with inline images of those addresses.
 

 

 102. 

HREF, as in href attribute, is short for ______________________________.
 

 

 103. 

The “____________________” target name for browser windows opens the link in the current browser window.
 

 

 104. 

In the example <a href=”#gra”>Grading</a>, the entire word “Grading” is defined as a(n) ____________________.
 

 

 105. 

_________________________ your Web pages before you create links can help determine which structure works best for the type of information you’re presenting.
 

 

 106. 

An absolute ____________________ provides a precise location for a file.
 

 

 107. 

When there are many folders and subfolders involved, ____________________ pathnames can be cumbersome and confusing.
 

 

 108. 

A URL, or ______________________________, specifies a precise location on the Web for a file.
 

 

 109. 

Once you know a document’s URL, you can create a link to it by adding the URL to the <a> tag along with the ____________________ attribute in your text file.
 

 

 110. 

The portion of a URL before the server name identifies the ____________________.
 

 

 111. 

A(n) ____________________ is a set of rules that governs how information is exchanged between two devices.
 

 

 112. 

HTTP is short for ______________________________.
 

 

 113. 

Following a communication protocol, there is typically a separator, such as a(n) ____________________ and two slashes.
 

 

 114. 

FTP, short for _________________________, is a communication protocol that file servers can use to transfer information.
 

 

 115. 

FTP ____________________ are one of the main resources for storing files on the Internet.
 

 

 116. 

Usenet is a collection of discussion forums called ____________________ that let users exchange messages with other users on a wide variety of topics.
 

 

 117. 

FTP ____________________ can encrypt or hide password information during transmission from your computer to an FTP server.
 

 

Matching
 
 
Identify the letter of the choice that best matches the phrase or definition.
a.
destination
e.
hierarchical
b.
anchor element
f.
absolute
c.
site index
g.
relative
d.
linear
h.
URL
 

 118. 

The document viewed when you click on a hypertext link
 

 119. 

Type of path used by most Web designers
 

 120. 

Structure in which each page is presented in an ordered chain
 

 121. 

Marks a specific location within a document
 

 122. 

Specifies the precise location on the Web for a file
 

 123. 

Type of path that provides a precise location for a file
 

 124. 

Structure that starts with a general topic that includes links to more specific topics
 

 125. 

Contains an outline of the entire site and its contents
 



 
Check Your Work     Start Over