Name: 
 

XHTML - Tutorial 1



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

 1. 

The Internet consists of hundreds of millions of interconnected computers that enable users to communicate and share information.
 

 2. 

Because networks are so useful, it is not surprising that their use led to a "network of networks" called the World Wide Web.
 

 3. 

A link can open a document on your computer or a document on a computer anywhere in the world.
 

 4. 

Documents on the Web are known as Web pages and they are limited to text.
 

 5. 

Browsers can run on teletype machines, PDAs, Braille machines, and even information devices within a car.
 

 6. 

Web pages are RTF files, written in a language called HTML.
 

 7. 

HTML proved too cumbersome and difficult for use on the Internet, and thus SGML was created based on the principles of HTML.
 

 8. 

With the advent of XHTML, it is expected that HTML will become obsolete within the next two years.
 

 9. 

It is a good idea to view your Web pages using different browsers, and if possible, different operating systems.
 

 10. 

HTML 2.0 included additional support for creating and formatting tables and expanded the options for interactive form elements.
 

 11. 

The default rendering of a horizontal line is standard across browsers.
 

 12. 

An HTML file contains both formatting tags and content.
 

 13. 

A one-sided tag is used to insert character data into a Web page.
 

 14. 

Tags in HTML are case sensitive.
 

 15. 

Extra space is required before and after the <body> tags to make your code easier to understand, especially as you add more code and it becomes more complex.
 
 
tutorial1_files/i0170000.jpg
 

 16. 

The figure above shows an ordered list.
 

 17. 

HTML lets you format individual characters.
 

 18. 

The <em> logical tag emphasizes characters more strongly than <strong>.
 

 19. 

If an image file is located in the same folder as the HTML file, you do not need to include any file location path information.
 

 20. 

If an image file is located in another folder or on another computer, you need to include the full location path and use the src attribute.
 

 21. 

All browsers use the background-color style to assign a color to a horizontal line.
 

 22. 

The HTML code <hr style=“width: 50%” /> instructs the browser to place the line so that its length covers half of the width of the page.
 

 23. 

One of the most common network structures is the client-server network, which is made up of several clients accessing information provided by one or more servers.
 

 24. 

HTML is a programming language used to create Web pages.
 

 25. 

HTML is a formatting language similar to those used by some desktop publishing programs.
 

 26. 

HTML does not necessarily tell you how a browser will display a document.
 

 27. 

The World Wide Web Consortium has been responsible for the HTML language ever since the earliest days of its creation.
 
 
tutorial1_files/i0300000.jpg
 

 28. 

Item 1 indicated in the figure above is the text associated with the image, which displays for non-graphical browsers.
 

 29. 

In good HTML code, nested elements do not cross.
 

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

 30. 

In order for computers to share resources efficiently, they can be linked together in a structure called a network. _________________________

 

 31. 

Activating a site takes you to another section of a Web page, or to another Web page entirely. _________________________

 

 32. 

The fact that the Internet and the Usenet are synonymous in many users’ minds is a testament to the success of the hypertext approach to providing documents. _________________________

 

 33. 

Documents on a Web site are known as Web links. _________________________

 

 34. 

Web pages are written in a language called Hyperlink Markup Language, or HTML. _________________________

 

 35. 

You can create a source document with a word processor and then have an HTML editor save the document as an HTML file. _________________________

 

 36. 

A multi-sided tag contains an opening tag that tells the browser to turn a feature on and apply it to the content that follows, and a closing tag that turns off the feature. _________________________

 

 37. 

Tags that are one-sided contain no content. _________________________

 

 38. 

HTML supports six levels of headings, numbered h1 through h6, with h6 being the largest and most prominent. _________________________

 

 39. 

To view a revised file, click View on the menu bar in Internet Explorer, and then click Reload. _________________________

 

 40. 

To view a revised file, click View on the menu bar in Netscape, and then click Refresh. _________________________

 

 41. 

To create a special character, type an ampersand followed either by the code name or the code number, and then a colon. _________________________

 

 42. 

The width attributes of a line on a Web page are measured in either points or as a percentage of the screen width. _________________________

 

 43. 

Users typically access a network through a computer called a WAN. _________________________

 

 44. 

A computer that makes a resource available to a network is called a client. _________________________

 

 45. 

XHTML is a strong and highly flexible metalanguage. _________________________

 

 46. 

The body element contains information about the document (e.g., its title or keywords that a search engine on the Web might use to identify this document for other users). _________________________

 

 47. 

A block-level element contains content displayed in a separate section within the page, setting it off from other areas. _________________________

 

 48. 

An inplace element is part of the same block as its surrounding content--for example, individual words or phrases within a paragraph. _________________________

 

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

 49. 

If computers are close together, the network linking them is called a ____.
a.
LAN
c.
NET
b.
WAN
d.
Web
 

 50. 

If a network covers several buildings or cities, it is called a ____.
a.
LAN
c.
NET
b.
WAN
d.
Web
 

 51. 

The largest WAN in existence is the ____.
a.
World Wide Web
c.
Internet
b.
Usenet
d.
All of the above
 

 52. 

The physical structure of the Internet uses ____ to send data back and forth.
a.
fiber-optic cables
c.
phone lines
b.
satellites
d.
All of the above
 

 53. 

The founders of the Web developed a system of ____ documents.
a.
hypertext
c.
parsed
b.
active
d.
dynamic
 

 54. 

The foundation for ____ was laid in 1989 by researchers seeking an information system that would make it easy for their colleagues to locate and share data.
a.
Usenet
c.
the Internet
b.
the Web
d.
a WAN
 

 55. 

Documents on the Web are known as Web ____.
a.
sites
c.
pages
b.
links
d.
indices
 

 56. 

A Web ____ makes a page available to users of the Web.
a.
client
c.
browser
b.
station
d.
server
 

 57. 

A Web ____ is a software program that retrieves the page and displays it.
a.
browser
c.
station
b.
client
d.
server
 

 58. 

____ browsers were incapable of displaying images.
a.
PDA
c.
Graphical
b.
Text-based
d.
Markup
 

 59. 

____ browsers can display video, sound, animations, and a variety of other features.
a.
Text-based
c.
Graphical
b.
Markup
d.
Tagged
 

 60. 

Web pages are text files written in a language called ____.
a.
SGML
c.
Perl
b.
Java
d.
HTML
 

 61. 

A ____ language is a language used to describe the content and structure of documents.
a.
markup
c.
validated
b.
parsed
d.
dictionary
 

 62. 

HTML was developed from ____.
a.
XML
c.
XHTML
b.
SGML
d.
Java
 

 63. 

The World Wide Web Consortium has created a set of ____ or specifications that all browser manufacturers.
a.
indices
c.
sheets
b.
standards
d.
styles
 

 64. 

The ____ is responsible for releasing each new version of HTML.
a.
NSF
c.
W3C
b.
EDCOM
d.
HTMX
 

 65. 

HTML version ____ included browser support for inline images and text controls for the first time.
a.
1.0
c.
3.0
b.
2.0
d.
4.01
 

 66. 

HTML version ____ was the first version supported by all graphical browsers.
a.
1.0
c.
3.0
b.
2.0
d.
4.01
 

 67. 

HTML version ____ included additional support for creating and formatting tables and expanded the options for interactive form elements.
a.
1.0
c.
3.0
b.
2.0
d.
4.01
 

 68. 

HTML version ____ added support for style sheets to give Web designers greater control over page layout.
a.
1.0
c.
3.0
b.
2.0
d.
4.01
 

 69. 

HTML version ____ expanded HTML's scripting capability and added increased support for multimedia elements.
a.
1.0
c.
3.0
b.
2.0
d.
4.01
 

 70. 

Over the years, each browser has added ____ to HTML that support new features.
a.
extensions
c.
parsers
b.
converters
d.
tags
 

 71. 

Browser ____ have provided Web page authors with more options, but at the expense of complicating Web page development.
a.
converters
c.
parsers
b.
extensions
d.
tags
 

 72. 

A two-sided tag contains a(n) ____ tag that tells the browser to turn on a feature and apply it to the content that follows.
a.
opening
c.
formatting
b.
introductory
d.
empty
 

 73. 

In a two-sided tag, a(n) ____ tag turns off the feature.
a.
end
c.
empty
b.
closing
d.
exit
 

 74. 

Closing tags are identified by the ____ that precedes the tag name.
a.
question mark
c.
slash
b.
exclamation point
d.
ampersand
 

 75. 

The ____ style of a header tag instructs the browser whether to center a given header, for example.
a.
text-position
c.
text-layout
b.
text-location
d.
text-align
 

 76. 

The portion of a document that Web users will see is contained between the ____ tags.
a.
<body>
c.
<display>
b.
<view>
d.
<visible>
 

 77. 

HTML supports ____ levels of headings.
a.
eleven
c.
four
b.
six
d.
three
 

 78. 

HTML formats text only through the use of tags and ignores ____.
a.
extra blank spaces
c.
tabs
b.
blank lines
d.
All of the above
 

 79. 

To add space between paragraphs, you use the ____ tag.
a.
<br>
c.
<p>
b.
<para>
d.
<sp>
 

 80. 

A(n) ____ list is used to display information in sequential order.
a.
ordered
c.
alphanumeric
b.
numeric
d.
bulleted
 

 81. 

If you omit the type attribute from an ordered list, browsers assume you want to create an ordered list using ____.
a.
Roman numerals
c.
lowercase letters
b.
numbers
d.
uppercase letters
 

 82. 

The type attribute for an unordered list can have which of the following values?
a.
rectangle
c.
disc
b.
pyramid
d.
Any of the above
 

 83. 

____ character tags specify how you want to use text, not necessarily how you want it displayed.
a.
Physical
c.
Intrinsic
b.
Formatting
d.
Logical
 

 84. 

The ____ logical character tag indicates that characters should be emphasized in some way; they usually display with italics.
a.
<em>
c.
<strong>
b.
<b>
d.
<i>
 

 85. 

A use for the ____ logical character tag would be to offset text that the user should type.
a.
<user>
c.
<enter>
b.
<kbd>
d.
<text>
 

 86. 

The ____ logical character tag indicates a citation.
a.
<quot>
c.
<cite>
b.
<para>
d.
<source>
 

 87. 

The tags <small>, <b>, and <sup> are all ____ character tags.
a.
intrinsic
c.
parsed
b.
logical
d.
physical
 

 88. 

Inline images should be in the ____ formats.
a.
GIF or JPEG
c.
TIFF or GIF
b.
JPEG or BMP
d.
PNG or BMP
 

 89. 

Code numbers for special characters are preceded by a ____.
a.
&
c.
#
b.
*
d.
^
 

 90. 

The size of lines on a Web page can be measured in ____.
a.
points
c.
icons
b.
picas
d.
pixels
 

 91. 

Users typically access a network through a computer called a ____.
a.
host
c.
lan
b.
wan
d.
server
 

 92. 

In its early days in the late 1960s, the Internet was called the ____ and consisted of two network nodes located at UCLA and Stanford connected by a phone line.
a.
MILNET
c.
NSFnet
b.
ARPANET
d.
Web
 

 93. 

____ are format descriptions written in a separate language from HTML that tell browsers how to render each element.
a.
Codes
c.
Styles
b.
Keys
d.
Icons
 

 94. 

Older features of HTML are often ____ by the W3C.
a.
depreciated
c.
deplored
b.
declined
d.
deprecated
 

 95. 

A(n) ____ is a distinct object in the document, like a paragraph, a heading, or the page’s title.
a.
element
c.
key
b.
icon
d.
index
 

 96. 

The technique of placing one element within another is called ____.
a.
linking
c.
loading
b.
nesting
d.
interlacing
 

 97. 

Styles specified as attributes in a tag are referred to as ____ styles.
a.
linked
c.
inline
b.
outlined
d.
ordered
 

 98. 

Which of the following inline elements is NOT deprecated?
a.
<center> ... </center>
c.
<menu> ... </menu>
b.
<blockquote> ... </blockquote>
d.
<dir> ... </dir>
 

Completion
Complete each sentence or statement.
 

 99. 

LAN stands for ______________________________.
 

 

 100. 

WAN stands for _________________________.
 

 

 101. 

____________________ documents are electronic files that contain elements that you can select, usually by clicking a mouse, to open other documents, and so on.
 

 

 102. 

The key to hypertext is the use of ____________________, which you activate to move from one topic to another.
 

 

 103. 

A Web page is stored on a Web ____________________.
 

 

 104. 

To view a Web page, the client runs a Web ____________________.
 

 

 105. 

HTML stands for ______________________________.
 

 

 106. 

Browser manufacturers were intended to follow a set of standards or ____________________ developed by the World Wide Web Consortium.
 

 

 107. 

The W3C stands for the ______________________________.
 

 

 108. 

XHTML stands for ______________________________.
 

 

 109. 

An HTML ____________________ takes text in one format and translates it to HTML code.
 

 

 110. 

An HTML ____________________ helps you create an HTML file by inserting HTML codes for you as you work.
 

 

 111. 

In a(n) ____________________ list, the list items are not listed in a particular order.
 

 

 112. 

A(n) ____________________ list is a list of terms, each followed by a definition line that is typically indented slightly to the right.
 

 

 113. 

Inline elements that allow you to format text characters are called ____________________ formatting elements.
 

 

 114. 

A(n) ____________________ image displays a graphic image located in a separate file within the contents of a block-level element
 

 

 115. 

A computer or other device that requests services from a server is called a(n) ____________________.
 

 

 116. 

A(n) ____________________ is a language used to create other languages.
 

 

 117. 

Many tags contain ____________________ that control the behavior, and in some cases the appearance, of elements in the page.
 

 

Matching
 
 
Identify the letter of the choice that best matches the phrase or definition.
a.
Web server
e.
extensions
b.
Web browser
f.
XHTML
c.
tag
g.
ordered list
d.
attribute
h.
unordered list
 

 118. 

Designed to overcome some of the problems of competing HTML standards
 

 119. 

Marks each element in a document
 

 120. 

Browser additions that support new features
 

 121. 

Used to present list items but not in a particular order
 

 122. 

Used to display information in a sequential order
 

 123. 

Used to control the behavior/appearance of an element in a page
 

 124. 

Where Web pages are stored
 

 125. 

A software program that retrieves Web pages and displays them
 

Short Answer
 

 126. 

What were some of the problems users of the Internet experienced prior to the introduction of the Web?
 

 127. 

What is hypertext?
 

 128. 

Are Web pages limited to displaying text? If not, what else can they contain?
 

 129. 

What are the two general categories of browsers, and their distinguishing characteristics?
 

 130. 

What is the advantage and disadvantage of browser extensions?
 

 131. 

What must a Web designer do before using an extension?
 

 132. 

What is XHTML?
 

 133. 

What are the advantages of HTML converters?
 

 134. 

What is the disadvantage of HTML converters?
 

 135. 

What is the general syntax for two-sided HTML tags?
 

 136. 

What is the syntax for creating an ordered list?
 

 137. 

List five of the possible list-style-types available for use in applying a style to a list?
 

 138. 

What is the syntax for an unordered list?
 

 139. 

What is a definition list?
 

 140. 

What is an inline image?
 

 141. 

What are the steps to create a special character?
 

 142. 

How do you change the color of a horizontal line?
 

 143. 

How do you create a paragraph in HTML?
 

 144. 

What is the difference between XML and XHTML?
 

 145. 

What is the syntax for inserting the style attribute into an HTML tag?
 

Essay
 

 146. 

What is an HTML converter? What are the advantages and disadvantages of its use?
 

 147. 

What are the instructions for creating lists?
 

 148. 

What is SGML? Explain the advantages and disadvantages of its use.
 

 149. 

Briefly describe three guidelines of which potential Web page authors should be aware.
 

 150. 

List eight tips for good HTML code.
 



 
Check Your Work     Reset Help