Final Quiz
Name:
E-mail:
1. Which form field would you use if your user may choose several selections?
a. radio buttons
b. check boxes
c. text field
d. textarea
2. How can you make a pull-down menu display all 4 options?
a. <option value="18-25" selected>18-25</option>
b. <select name="age" size="all">
c. <select name="age" size="4">
d. <selected 4>
3. What are the three main elements in the opening form tag?
a. name, size, post
b. action, method, size
c. action, name, post
d. name, method, action
4. Which of the following opening table tags is correctly written?
a. <table border="1">
b. <table size="100 border="1
c. <tablewidth="100">
d. None of the above.
5. What are TR, TH and TD?
a. the row, the head, the dynamic content
b. number of rows, first column, first cell
c. table align right, table height, table data
d. table row, table header, table data
6. To add a background color to one row, you would type this:
a. <table row1 color="#CCFFCC">
b. <tr background="#CCFFCC">
c. <tr bgcolor="#CCFFCC">
d. <td color="#CCFFCC">
7. This code would result in what type of framed page?
<frameset rows="120,*" frameborder="1">
<frame name="topFrame" scrolling="NO" border="1" noresize src="ex_menu.html">
<frame name="main" src="form.html" border="1">
</frameset>
a. 2 rows
b. 2 colums
c. 2 rows and 2 columns
d. 3 rows
e. 1 column and 2 rows
8. A link with target="_top" will result on what action?
a. page replacing all the frames
b. page opening as a new window
c. page opening in the main frame
d. page opening in the same frame as the link
9. What is a reason not to use frames?
a. Netscape doesn't support frames.
b. It's not recognized by ADA guidelines.
c. Search engines may not find your content pages.
d. None of the above.
10. Troubleshooting: Your page is not being displayed correctly in the browser. You check your code to discover the following errors. Which of these would
not
cause your page to render an error?
a. <noframes>/noframes>
b. <input textfield size="25">
c. <frameset rows="3"></frameset>
d. <table>border="1"</table>
Back to Class Outline
For questions, e-mail
Kristi Adams - adamskr@musc.edu