Name:     ID: 
 
    Email: 

HTML Tutorial 4 - Exam

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

 1. 

Graphical tables use only standard word processing characters.
 
 
tutorial4_files/i0030000.jpg
 

 2. 

The item shown in the figure above is a graphical table.
 
 
tutorial4_files/i0050000.jpg
 

 3. 

The item shown in the figure above is a text table.
 

 4. 

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

 5. 

A single table can contain at most one <tbody> tag.
 

 6. 

By using the <thead> and <tfoot> tags, the browser can be made to repeat those sections across multiple pages, while changing the contents of the table’s main body.
 

 7. 

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

 8. 

Alignment values of “left” or “right” place a table caption below the table to the left or right.
 

 9. 

Captions are shown as normal text without special formatting.
 

 10. 

By default, the caption appears centered above the table when creating a table caption.
 

 11. 

The size of a table’s border is an optional attribute.
 

 12. 

The outside gridlines are not affected by a table’s border attribute; only the internal gridlines are changed.
 

 13. 

Decreasing the width of a table’s border to 1 pixel will remove the border between the cells.
 

 14. 

By default, tables will display without borders in a browser.
 
 
tutorial4_files/i0180000.jpg
 

 15. 

The table marked 1 in the figure above has a frame value of “border”.
 

 16. 

The table marked 2 in the figure above has a frame value of “top”.
 

 17. 

The table marked 3 in Figure 4-26 has a frame value of “beneath”.
 

 18. 

The table marked 4 in the figure above has a frame value of “box”.
 

 19. 

The table marked 5 in the figure above has a frame value of “lhs”.
 

 20. 

The table marked 6 in the figure above has a frame value of “rhs”.
 

 21. 

The table marked 7 in the figure above has a frame value of “vsides”.
 

 22. 

The table marked 8 in the figure above has a frame value of “none”.
 
 
tutorial4_files/i0270000.jpg
 

 23. 

The table marked 1 in the figure above has a rules value of “full”.
 

 24. 

The table marked 2 in the figure above has a rules value of “rows”.
 

 25. 

The table marked 3 in the figure above has a rules value of “cols”.
 

 26. 

The table marked 4 in the figure above has a rules value of “void”.
 

 27. 

Specifying a width for an individual cell guarantees that the cell will be that width when displayed in the browser.
 

 28. 

If another cell in a column is set to a different width or expands because of the text in it, the widths of all cells in the column change accordingly.
 

 29. 

Table styles cascade down through the table structure, from the table element, through the row groups and table rows, and down to the individual cells.
 

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. 

A graphical table contains only text, evenly spaced on the Web page in rows and columns. _________________________

 

 31. 

Because it relies on spaces, when you create a graphical table, the font you use is important. _________________________

 

 32. 

Proportional fonts are more suitable for text tables than fixed-width fonts. _________________________

 

 33. 

Since the character “m” is wider than the character “l,” a monospace font assigns it more space. _________________________

 

 34. 

A text table relies on spaces and the characters that fill those spaces to create its row boundaries. _________________________

 

 35. 

One difference between the <th> and <td> tags is that text formatted with the <th> tag is left-aligned within the cell. _________________________

 

 36. 

The <thead> and <tfoot> sections must appear after any <tbody> sections in the table structure. _________________________

 

 37. 

In addition to the top, bottom, left, and right values, Netscape also supports a position value of “center” for captions. _________________________

 

 38. 

By default, browsers display tables without table borders. _________________________

 

 39. 

The cell spacing attribute controls the amount of space inserted outside table cells. _________________________

 

 40. 

Setting a width for a cell guarantees only that the cell width will not be greater than that value. _________________________

 

 41. 

In a fluid layout, one or more of the table elements is sized as a percentage of the page width. _________________________

 

 42. 

The default value for the position attribute of the float style is left. _________________________

 

 43. 

For a table that includes a caption, the colgroup element should be placed directly before the opening <table> tag. _________________________

 

 44. 

HTML allows you to manipulate the features of entire columns and groups of columns. _________________________

 

 45. 

The sectional layout places page content in columns. _________________________

 

 46. 

To create a table row, use the tag <th>content</th>. _________________________

 

 47. 

With a columnar layout, the page is broken up into a number of pieces that are meticulously assembled to create the layout. _________________________

 

 48. 

Nonbreaking spaces are created with the &nbsp character entity. _________________________

 

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

 49. 

In a text table, cell borders and lines must be created using
a.
hyphens.
c.
special graphical characters.
b.
equal signs.
d.
Either A or B
 

 50. 

You can use the ____ tag to display preformatted text.
a.
<pre>
c.
<format>
b.
<form>
d.
<preformatted>
 

 51. 

The ____ tag displays text using preformatted text.
a.
<font>
c.
<br>
b.
<pre>
d.
<fw>
 

 52. 

Each row of a table is indicated using a two-sided ____ tag.
a.
<tr>
c.
<th>
b.
<td>
d.
<tl>
 

 53. 

Within a table row, a two-sided ____ tag indicates the presence of individual table cells.
a.
<tr>
c.
<tc>
b.
<td>
d.
<th>
 

 54. 

HTML allows you to identify the different parts of your table using the ____ tags.
a.
<thead>
c.
<tfoot>
b.
<tbody>
d.
All of the above
 

 55. 

The <thead>, <tbody>, and <tfoot> tags do not format the table, but they do contain row ____.
a.
groups
c.
clusters
b.
aggregates
d.
indices
 

 56. 

In the <caption> tag, an alignment value of ____ centers the caption below the table.
a.
below
c.
under
b.
bottom
d.
beneath
 

 57. 

In the <caption> tag, an alignment value of ____ centers the caption above the table.
a.
above
c.
top
b.
over
d.
central
 

 58. 

One drawback of a ____ layout is that it can result in long lines of text, which can be difficult to read.
a.
fixed-width
c.
fluid
b.
columnar
d.
jigsaw
 

 59. 

The default cell spacing value is ____ pixel(s).
a.
1
c.
4
b.
2
d.
5
 

 60. 

To control the space between the table text and the cell borders, add the ____ attribute to the table tag.
a.
cell spacing
c.
cellborder
b.
cellbetween
d.
cell padding
 

 61. 

With the frame value ____, a border is drawn around all four sides of the table.
a.
box
c.
4sides
b.
border
d.
all
 

 62. 

With the frame value ____, a border is drawn only above the table.
a.
top
c.
hsides
b.
above
d.
box
 

 63. 

With the frame value ____, a border is drawn only below the table.
a.
under
c.
below
b.
beneath
d.
vsides
 

 64. 

With the frame value ____, a border is drawn on the top and bottom sides of the table.
a.
rhs
c.
vsides
b.
lhs
d.
hsides
 

 65. 

With the frame value ____, a border is drawn on the left and right sides of the table.
a.
lrhs
c.
vsides
b.
hsides
d.
both
 

 66. 

With the frame value ____, no border is drawn around the table.
a.
null
c.
no
b.
none
d.
void
 

 67. 

The ____ attribute lets you control how the table gridlines are drawn.
a.
rules
c.
gridlines
b.
grid
d.
lines
 
 
tutorial4_files/i0750000.jpg
 

 68. 

The layout shown in the figure above is the ____ layout.
a.
sectional
c.
grid
b.
columnar
d.
jigsaw
 

 69. 

A ____ cell occupies more than one row or column in a table.
a.
breadth
c.
spanning
b.
full
d.
columnar
 

 70. 

To create a cell that spans two columns in a table, you enter the <td> tag as ____.
a.
<td rowspan>“2”>
c.
<td colspan>“2”>
b.
<td colspan=“2”>
d.
<td rowspan=“2”>
 

 71. 

To create a cell that spans two rows in a table, you enter the <td> tag as ____.
a.
<td colspan>“2”>
c.
<td rowspan=“2”>
b.
<td rowspan>“2”>
d.
<td colspan=“2”>
 
 
tutorial4_files/i0800000.jpg
 

 72. 

The layout in the figure above is the ____ layout.
a.
jigsaw
c.
grid
b.
columnar
d.
sectional
 

 73. 

By default, table borders are displayed in two shades of ____ that create a three-dimensional effect.
a.
white
c.
gray
b.
black
d.
blue
 

Completion
Complete each sentence or statement.
 

 74. 

A(n) ____________________ table is displayed using graphical elements to distinguish the table components.
 

 

 75. 

One tip for the effective use of tables is to use ____________________ elements to reduce the amount of unused space in the browser window, and to use fixed-width elements when you need to precisely place elements on a page.
 

 

 76. 

To create a text table, you need to use a(n) ____________________ font so that the columns align properly.
 

 

 77. 

____________________-width fonts use the same amount of space for each character.
 

 

 78. 

____________________ fonts assign a different amount of space for each character depending on the width of that character.
 

 

 79. 

If you use a(n) ____________________ font in a text table, the varying width of the characters and the spaces between characters can cause errors when the page is rendered in the user’s browser.
 

 

 80. 

____________________ text is text that is formatted in ways that HTML would otherwise not recognize.
 

 

 81. 

The table ____________________ is the number of rows and columns, the location of column headings, and the placement of a table caption.
 

 

 82. 

Tables are marked within a two-sided ____________________ tag that identifies the start and ending of the table structure.
 

 

 83. 

HTML provides a special tag for ____________________ headings in a table.
 

 

 84. 

The ____________________ tag is most often used for column headings, but you can use it for any cell that you want to contain centered boldfaced text.
 

 

 85. 

The <tbody>, <tfoot>, and <thead> tags contain collections of rows called ____________________ groups.
 

 

 86. 

Cell ____________________ refers to the space within the cells.
 

 

 87. 

With the ____________________ and rule attributes you can control how borders and gridlines are applied to the table.
 

 

 88. 

If you want your table to fill the entire width of the display area, regardless of the resolution of the user’s monitor, you should set the width attribute to ____________________.
 

 

 89. 

You can organize columns into ____________________ and format one or more entire columns with a single style declaration or attribute.
 

 

 90. 

In the ____________________ layout, the page content is placed in columns.
 

 

 91. 

In a(n) ____________________ layout, you break the page content into sections, placing each section in its own table cell.
 

 

 92. 

By breaking up page content into separate pieces you can create almost any type of layout; this technique is sometimes referred to as a(n) ____________________ layout.
 

 

Matching
 
 
Identify the letter of the choice that best matches the phrase or definition.
a.
text
e.
frame
b.
graphical
f.
rules
c.
fixed-width
g.
spanning
d.
proportional
h.
fluid
 

 93. 

Table type that uses only standard word processing characters
 

 94. 

Font that assigns a different amount of space for each character depending on the character’s width
 

 95. 

Font that uses the same amount of space for each character
 

 96. 

Type of cell that occupies more than one row or column in a table
 

 97. 

Attribute that allows you to determine which sides of a table will have borders
 

 98. 

Layout in which one or more of the table elements is sized as a percentage of the page width
 

 99. 

Attribute that lets you control how table gridlines are drawn
 

 100. 

Table type that can include background colors
 



 
Submit          Reset Help