Maddog's HTML for Real People Chapter 10, Quiz

Copyright 1997 ...[ view copyright info ]...
[INDEX] Ch 10, Q UIZ - Quiz on Graphical Tables

If you don't want to take the quiz, you can advance.

Here's your "confidence builder" for this chapter. Again, questions are presented in roughly the same order as the material in this chapter was presented, so you can quickly re-read part of the material, if you need to. You may check your answers by clicking in the appropriate box, or by going to the full answer page -here-

Regarding HTML tables, a "cell" is:
[ ] the border around table-data
[ ] a column or a row of table-data
[ ] an imaginary box drawn around table-data
[ ] the border around a table

With regard to HTML tables, which of the following is NOT a task of the browser?
[ ] calculating placement/alignment of text in the cell
[ ] determining what text goes inside a cell
[ ] calculating cell dimensions
[ ] calculating cell borders

TRUE or FALSE: Table borders are normally visible by default.
[ ] True
[ ] False

Regarding HTML tables, which of the following correctly specifies a visible border?
[ ] <TABLE BORDER=1>
[ ] <TD BORDER=5>
[ ] <TABLE BORDER="VISIBLE">
[ ] <BORDER=1>

TRUE or FALSE: If a border is specified for a table, the table is larger than if no border is specified
[ ] True
[ ] False

TRUE or FALSE: It is permissable to place an entire HTML table inside a '<TD> <TD>' tag pair.
[ ] True
[ ] False

TRUE or FALSE: In an HTML table, cells always line up in rows and columns
[ ] True
[ ] False

Which of the following is NOT a valid HTML attribute of the 'TABLE' tag?
[ ] BORDER
[ ] ALIGN
[ ] WIDTH
[ ] HEIGHT
[ ] CELLPADDING
[ ] CELLSPACING

Which of the following statements is NOT true regarding cells in tables?
[ ] cellpadding establishes the distance from the cell's contents (i.e., text or images) to the cell's border
[ ] cellspacing establishes an empty space around the cell
[ ] the table border is established by the 'BORDER' attribute
[ ] the cell border is the same width as the table border

TRUE or FALSE: Cellspacing and cellpadding are properties of the cell that exist even if the border is OFF or set to zero
[ ] True
[ ] False

When specified in the '<TABLE>' tag, which of the following attributes are recommendations only, i.e., they can be overidden by browser calculations?
[ ] WIDTH=10
[ ] CELLPADDING=0
[ ] BORDER=5
[ ] both WIDTH=10 and CELLPADDING=0
[ ] none of the above

TRUE or FALSE: By default, the browser calculates the size and alignment of all cells, columns, and rows in a table.
[ ] True
[ ] False

TRUE or FALSE: When specifying a table's width, it MUST be specified in screen pixels.
[ ] True
[ ] False

Which of the following tables will be painted by the browser as specified in the HTML code fragment?
[ ] <TABLE BORDER=10 WIDTH=5 ><TR><TD>wowza!</TD></TR></TABLE>
[ ] <TABLE BORDER=0 WIDTH=5 ><TR><TD>wowza!</TD></TR></TABLE>
[ ] <TABLE WIDTH=5 CELLPADDING=10 ><TR><TD>wowza!</TD></TR></TABLE>
[ ] <TABLE BORDER=10 WIDTH=50% ><TR><TD>wowsa!</TD></TR></TABLE>

When the browser encounters a long text passage in a table's cell, what does it do?
[ ] enlarges the cell as wide as it needs to be, allowing the table to extend off the right of the screen
[ ] word-wraps the text, but only if the table width has been specified in the 'WIDTH' attribute
[ ] enlarges the cell to the maximum allowed width, and then word-wraps the remaining text, making the cell taller
[ ] writes the portion of text that will fit in the specified width, and truncates the rest

TRUE or FALSE: You may specify height or width of an individual cell, but NOT both.
[ ] True
[ ] False

Which of the following is NOT a valid HTML tag for specifying a cell size?
[ ] <TH HEIGHT=50>
[ ] <TD WIDTH=50>
[ ] <TD HEIGHT=50 WIDTH=100>
[ ] <TD HEIGHT=75%>

TRUE or FALSE: When 'HEIGHT' and 'WIDTH' are specified, and if a cell has a lot of text, the browser still has to stay within the specified cell dimensions
[ ] True
[ ] False

When sizing a table's cells, the minimum requirement for specifying all cells is:
[ ] specify 'HEIGHT' and 'WIDTH' for every cell
[ ] specify 'HEIGHT' for one cell in each row, and 'WIDTH' for one cell in each column
[ ] Specify 'WIDTH' for all heading cells, and 'HEIGHT' for all remaining cells
[ ] specify 'HEIGHT' and 'WIDTH' in the '<TABLE>' tag.

TRUE or FALSE: By default, the browser assigns each cell to one column and one row.
[ ] True
[ ] False

Which of the following HTML fragments does NOT correctly implement spanning in a table?
[ ] <TH ROWSPAN=2>
[ ] <TD COLSPAN=2 ROWSPAN=3>
[ ] <TD WIDTH=20 COLSPAN=3>
[ ] <TR ROWSPAN=2>

True or False: When specified for a table cell, the 'NOWRAP' attribute requires no '=' sign and no value
[ ] True
[ ] False

Which of the following causes the browser to permit long text passages in a cell to run off the right side of the screen?
[ ] <TD NOWRAP="TRUE">
[ ] <TD WRAP="FALSE">
[ ] <TD NOWRAP>
[ ] <TD NOWRAP=1>

Which of the following HTML code fragments does NOT cause the browser to paint empty space in the table?
[ ] <TABLE> <TR> <TD>stuff</TD> </TR> <TR> <TD>&nbsp;</TD> </TR> </TABLE>
[ ] <TABLE> <TR> <TD>stuff</TD> </TR> <TR> </TR> </TABLE>
[ ] <TABLE> <TR> <TD>stuff</TD> </TR> <TR> <TD></TD> </TR> </TABLE>
[ ] <TABLE> <TR> <TD>stuff</TD> </TR> <TR> <TD>      </TD> </TR> </TABLE>

TRUE or FALSE: Empty table space caused by an empty cell can be explicitly sized using the 'HEIGHT' and 'WIDTH' attributes.
[ ] True
[ ] False

Which of the following HTML code fragments, when embedded in a table, implements a blank cell (with cell borders)?
[ ] <TD></TD>
[ ] <TD>      </TD>
[ ] <TD>&nbsp;</TD>
[ ] <TD BLANK></TD>

Which of the following HTML code fragments CORRECTLY implements background color for a table?
[ ] <TABLE COLOR="LIME"> <TR> <TD>stuff</TD> </TR> </TABLE>
[ ] <TABLE BGCOLOR="#80FF80"> <TR> <TD>stuff</TD> </TR> </TABLE>
[ ] <TABLE> <BGCOLOR="LIME"> <TR> <TD>stuff</TD> </TR> </TABLE>
[ ] <TABLE > <TR> <TD COLOR="LIME">stuff</TD> </TR> </TABLE>

TRUE or FALSE: Some browsers which support tables do NOT support the 'BORDERCOLOR', 'BORDERCOLORLIGHT', and 'BORDERCOLORDARK' attributes.
[ ] True
[ ] False


-PREVIOUS- -CHAPTER- -INDEX- -NEXT-

Overseer: Monty Northrup ... maddog@io.com ... leave e-mail ...
...to maddog 'n' miracles homepage...