Name:     ID: 
 
    Email: 

Test - HTML Chapters 1 - 4

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

1. 

There is every indication that HTML will continue to be the dominant language of the Web for a long time to come.
 

2. 

XHTML brings the rigor of XML to Web pages and provides standards for more robust Web content on a wide range of browser platforms.
 

3. 

An HTML file contains both formatting tags and content.
 

4. 

A one-sided tag is used to insert character data into a Web page.
 
 
html_test_tut1-4_files/i0060000.jpg
Figure 1-9
 

5. 

The text marked 1 in Figure 1-9 is the title entered between the <NAME> tags in the Web page.
 
 
html_test_tut1-4_files/i0080000.jpg
Figure 1-21
 

6. 

The text in Figure 1-21 is an example of formatting that uses combined tags.
 

7. 

You should not overlap opening and closing tags.
 

8. 

You should not insert any tag elements within an anchor, except for tags that create document objects such as inline graphics.
 

9. 

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

10. 

The URL for a newsgroup is news:newsgroup.
 

11. 

The process by which you create a transparent color is independent of the graphics software you are using.
 

12. 

The GIF format may eventually replace PNGs as the primary image type of the World Wide Web.
 

13. 

In the <img> tag, the align values left and right place the image in line with the surrounding text.
 

14. 

You can use the value “nohref” in place of a URL if you do not want a hotspot to activate a hypertext link.
 

15. 

The syntax for setting the border width of an image is <img src=”URL” border=”value”>.
 

16. 

If an image contains hypertext links, some browsers create a two-pixel-wide border.
 

17. 

Because of the variable spacing, proportional fonts are more visually attractive, and typically easier to read, than fixed-width fonts.
 

18. 

All browsers support the <tbody>, <thead>, and <tfoot> tags.
 

19. 

Decreasing the width of a table’s border to 0 pixels will remove the border between the cells.
 
 
html_test_tut1-4_files/i0230000.jpg

Figure 4-27
 

20. 

The table marked 4 in Figure 4-27 has a frame value of “box”.
 

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

21. 

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

22. 

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

23. 

With a ____ browser, you use the mouse to move from page to page.
a.
text-based
b.
markup
c.
graphical
d.
tagged
 

24. 

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

25. 

HTML uses style ____, with which a Web designer can explicitly define the fonts and formatting the Web browser applies to the document.
a.
sheets
b.
indices
c.
syntax
d.
converters
 

26. 

HTML's rules appear as a set of ____ or specifications developed by the World Wide Web Consortium.
a.
indices
b.
standards
c.
sheets
d.
styles
 

27. 

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

28. 

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

29. 

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

30. 

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

31. 

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

32. 

With ____, Web designers can create their own tags and attributes for their documents.
a.
XHTML
b.
HTML
c.
XML
d.
Java
 

33. 

____ combined with style sheets provides the same functionality as HTML, but with greater flexibility.
a.
XHTML
b.
Java
c.
Perl
d.
XML
 

34. 

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
b.
introductory
c.
formatting
d.
empty
 

35. 

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

36. 

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

37. 

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

38. 

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

39. 

The ____ logical character tag indicates short quotes or citations.
a.
<quot>
b.
<para>
c.
<cite>
d.
<source>
 

40. 

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

41. 

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

42. 

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

43. 

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

44. 

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

45. 

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

46. 

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

47. 

The ____ is used to distinguish a filename from the anchor name.
a.
#
b.
@
c.
&
d.
%
 

48. 

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

49. 

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

50. 

The absolute pathnames for files located on different computers begin with a
a.
vertical bar.
b.
comma.
c.
slash.
d.
period.
 

51. 

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

52. 

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

53. 

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

54. 

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

55. 

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>
b.
<anchor>
c.
<link>
d.
Any of the above
 

56. 

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

57. 

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

58. 

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

59. 

Which of the following is one of the basic color names in HTML?
a.
gold
b.
salmon
c.
lime
d.
All of the above
 

60. 

Which of the following is NOT a basic color name in HTML?
a.
silver
b.
teal
c.
fuchsia
d.
None of the above
 

61. 

Any color can be thought of as a combination of three primary colors:
a.
blue, gray, and yellow.
b.
yellow, red, and blue.
c.
red, green, and blue.
d.
red, white, and blue.
 

62. 

White has an RGB triplet of
a.
(0, 0, 0).
b.
(255, 255, 255).
c.
(0, 255, 0).
d.
(255, 0, 255).
 

63. 

Yellow has the triplet
a.
(0, 0, 0).
b.
(255, 255, 0).
c.
(0, 255, 255).
d.
(255, 0, 255).
 

64. 

When you want to change the default hypertext link colors, you modify the attributes of the page within the ____ tag.
a.
<font>
b.
<link>
c.
<body>
d.
Either A or C
 

65. 

The ____ attribute defines the color of links that have been visited by the user.
a.
alink
b.
link
c.
nlink
d.
vlink
 

66. 

If you use a hexadecimal value for a color, you must preface the hexadecimal string with a(n)
a.
pound symbol.
b.
ampersand.
c.
question mark.
d.
exclamation point.
 

67. 

With the <font> tag, the ____ attribute is the name of the font you want to use for the text.
a.
name
b.
text
c.
serif
d.
face
 

68. 

If you want to increase the font size by 2 relative to the surrounding text, you enter size=“____” in the <font> tag.
a.
+2
b.
>2
c.
>=2
d.
++2
 

69. 

In choosing a background image, you should not use a file more than ____ kilobytes.
a.
2
b.
4
c.
7
d.
20
 

70. 

____ is the most commonly used image format on the Web.
a.
JPEG
b.
PNG
c.
GIF
d.
BMP
 

71. 

GIF files are limited to displaying ____ colors.
a.
12
b.
55
c.
216
d.
256
 

72. 

Which of the following is a use of the GIF format?
a.
clip art images
b.
line art
c.
logos
d.
All of the above
 

73. 

____ GIFs are an effective way to compose slide shows or to simulate motion.
a.
Animated
b.
Transparent
c.
Interlaced
d.
Any of the above
 

74. 

In place of the GIF format, a new file format called ___ has been offered.
a.
JPEG