Name:     ID: 
 
    Email: 

HTML Quiz # 3 Tables and Structured Code

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

 1. 

Structured code makes your HTML code work better and your pages load faster.
 

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

 2. 

Which of the following is the correct format for a comment tag?
a.
<comment>Here is my comment</comment>
b.
<comment>Here is my comment
c.
<-- Here is my comment -->
d.
<!-- Here is my comment -->
e.
<* Here is my comment *>
 

 3. 

Comment tags are used to:
a.
make the HTML code work faster
b.
provide information about the HTML code
c.
produce a special format of text so it stands out from the rest of the text
d.
make tables work better
 

 4. 

Structured code uses
a.
tabs
c.
enter key to separate lines of code
b.
comment tags
d.
all of these
 

 5. 

A table must have
a.
an opening and closing <table> tag
c.
an opening and closing <td> or <th> tag
b.
an opening and closing <tr> tag
d.
all of the above
 

 6. 

Which of the following will produce this table:
Cell 1
Cell 2
a.
<table>
   <tr>
        <td>Cell 1</td>
        <td>Cell 2</td>
   </tr>
</table>
b.
<table>
   <tr>
        <td>Cell 1</td>
   </tr>
   <tr>
        <td>Cell 2</td>
   </tr>
</table>
c.
<table>
   <tr rowspan=”2”>
        <td>Cell 1</td>
        <td>Cell 2</td>
   </tr>
</table>
 

 7. 

In a table, columns go
a.
down
c.
up and down
b.
across
d.
all around
 

 8. 

Which of the following will produce this table? 
Cell 1
Cell 2
a.
<table>
   <tr>
        <td>Cell 1</td>
        <td>Cell 2</td>
   </tr>
</table>
b.
<table>
   <tr>
        <td>Cell 1</td>
   </tr>
   <tr>
        <td>Cell 2</td>
   </tr>
</table>
c.
<table>
   <tr rowspan=”2”>
        <td>Cell 1</td>
        <td>Cell 2</td>
   </tr>
</table>
 

 9. 

In tables, rows go
a.
down
c.
up and down
b.
across
d.
all around
 

 10. 

To display and empty table cell with borders, you must put the following between the opening and closing <td> tags:
a.
space
c.
&nbsp;
b.
Cell
d.
border
 

 11. 

Which of the following will produce this table:

Cell
Cell
Cell
Cell
a.
<table border=1>
   <tr>
        <td colspan=2>Cell </td>
   </tr>
   <tr>
        <td rowspan=2>Cell </td>

        <td>Cell </td>
    </tr>
    <tr>
       <td>Cell </td>
   </tr>
</table>

c.
<table border=1>
   <tr>
        <td rowspan=2>Cell </td>
   </tr>
   <tr>
        <td colspan=2>Cell </td>

        <td>Cell </td>
    </tr>
    <tr>
       <td>Cell </td>
   </tr>
</table>
b.
<table border="1">
   <tr>
        <td colspan="2">Cell </td>
   </tr>
   <tr>
        <td rowspan="2">Cell </td>

        <td>Cell </td>
    </tr>
    <tr>
       <td>Cell </td>
   </tr>
</table>
d.
<table border="1">
   <tr>
        <td colspan="2">Cell </td>
   </tr>
   <tr>
        <td rowspan="2">Cell </td>

        <td>Cell </td>
    </tr>
    <tr>
       <td>Cell </td>
   </tr>
</table>
 



 
Submit          Reset Help