Multiple Choice
Identify the
letter of the choice that best completes the statement or answers the question.
|
|
1.
|
The
first tag in any web page is the __________ tag. a. | <head> | c. | <html> | b. | <first> | d. | <body> | | | | |
|
|
2.
|
The
closing bold tag is a. | <b/> | c. | </close> | b. | <close/> | d. | </strong> | | | | |
|
|
3.
|
You
meant to underline the heading but the whole page becomes underlined. You probably
a. | forgot the
</u> tag | c. | need to add a
<stop> tag | b. | forgot the <u> tag | d. | have a virus in your computer | | | | |
|
|
4.
|
The
tag that you use at the end of a line to enter a double space is a. | <br
/> | c. | <ds
/> | b. | <p /> | d. | <i /> | | | | |
|
|
5.
|
The
last tag of any web page will be the __________ tag. a. | <last> | c. | </end> | b. | <close> | d. | </html> | | | | |
|
|
6.
|
To
italicize text you would use the ______________ tag
|
|
7.
|
The
text that people read on a web page is coded in the ____________ section. a. | <head> | c. | <title> | b. | <body> | d. | <page> | | | | |
|
|
8.
|
To
center the text on a web page you can use the following tag a. | <middle> | c. | <center> | b. | <br> | d. | <text> | | | | |
|
|
9.
|
The
<br /> tag a. | double
spaces | c. | triple
spaces | b. | single spaces | d. | links to a new page | | | | |
|
|
10.
|
The
heading tag that creates the largest heading is
|
|
11.
|
In a
Google Advanced Search, to find web pages specifically about Sequoia High School, you should type
Sequoia High School in the following find results box a. | with all of the
words | c. | with at least on
of the words | b. | with the exact phrase | d. | without the words | | | | |
|
|
12.
|
A
browser is a. | a program that
displays web pages | c. | a service that
performs searches | b. | a web page address | d. | a tag that will become obsolete | | | | |
|
|
13.
|
The
text enclosed by the <title> tag can be found a. | At the top of
the displayed web page | c. | In the task bar
of the computer | b. | In the title bar of the browser | d. | In the first line of the web page | | | | |
|
|
14.
|
The
<ol> tag a. | creates a
numbered list | c. | creates a
definition list | b. | creates a bulleted list | d. | creates an owl image | | | | |
|
|
15.
|
The
following code would display as:
<ul>
<li>Item #1</li>
<li>Item #2</li>
<li>Item #3</li>
<li>Item #4</li>
</ul> a. | Item #1
Item
#2
Item #3
Item #4
| c. | 1. Item #1
2. Item
#2
3. Item #3
4. Item #4
| b. |
Item #1
Item #2
Item #3
Item #4
| d. | Item #1 Item #2 Item #3 Item
#4
| | | | |
|
|
16.
|
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 *> | | |
|
|
17.
|
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 | | |
|
|
18.
|
Structured code uses a. | tabs | c. | enter key to separate lines of code | b. | comment
tags | d. | all of
these | | | | |
|
|
19.
|
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 | | | | |
|
|
20.
|
Which
of the following will produce this table: 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> | | | | | | |
|
|
21.
|
In a
table, columns go a. | down | c. | up and down | b. | across | d. | all
around | | | | |
|
|
22.
|
Which
of the following will produce this table?
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> | | | | | | |
|
|
23.
|
In
tables, rows go a. | down | c. | up and
down | b. | across | d. | all
around | | | | |
|
|
24.
|
To
display and empty table cell with borders, you must put the following between the opening and closing
<td> tags: a. | space | c. | | b. | Cell | d. | border | | | | |
|
|
25.
|
Which
of the following will produce this table:
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> | | | | |
|
|
26.
|
Forms
differ from other HTML pages in which of the following ways?
a. | they require
user input | b. | they require a CGI script on the server to handle the
information | c. | the form names must match the CGI script
names | d. | all of these are true of forms | | |
|
|
27.
|
Which
tag or attribute must match the CGI script exactly? a. |
input | b. | name | c. | value | d. | type | | |
|
|
28.
|
Which
tag or attribute is responsible for sending the form data to the server? a. | reset | b. | legend | c. | input | d. | submit | | |
|
|
29.
|
Which
of the following tags or attributes only allows the user the ability to choose one
option? a. | text | b. | checkbox | c. | radio | d. | all of the above | | |
|
|
30.
|
Which
of the following will produce this form element? a. | <form>
<select>
<option>Option
1</option>
<option>Option
2</option>
<option>Option
3</option>
</select>
</form> | c. | <form>
<textarea> Option
1</textarea>
</form> | b. | <form>
<input type=menu>Option
1
</form> | d. | None of these
are correct. | | | | |
|
|
31.
|
Which
of the following would send a data file to the ITServer and have the quiz_handler.php file receive
the data? a. | <form
method=post action=quiz_handler.php> | b. | <form
method=post
action=http://ITServer/quiz_handler.php> | c. | <form
method=get
action=http://ITServer/quiz_handler.php> | d. | <form
method=get action=quiz_handler.php> | | |
|
|
32.
|
The
<fieldset> tag is used to a. | create a box around one or more form
elements | b. | set apart different parts of a form | c. | break long forms
into smaller parts | d. | All of these are true of the <fieldset>
tag | | |
|
|
33.
|
Which
of the following tags or attributes allows the user to select multiple options at the same
time? a. | textarea | b. | submit | c. | checkbox | d. | reset | | |
|
|
34.
|
Google and many other search engines use which of the following tags or attributes to
send the data in a form over the Internet? a. | input | b. | get | c. | action | d. | post | | |
|
|
35.
|
Which
of the following tags or attributes prevent the user from entering more than a specified number of
characters? a. | limit | b. | maxvalue | c. | cols | d. | size | | |
|
|
36.
|
CSS
stands for a. | Castle Sub
Sales | c. | Colorful Style
Sheets | b. | Cascading Style Sheets | d. | Classy Style Sheets | | | | |
|
|
37.
|
What
is the correct code for referring to an external style sheet? a. | <stylesheet
=text/css> | b. | <style
src=css/anotherstyle.css | c. | <style
type=text/css> | d. | <link rel="stylesheet" type="text/css"
href="css/anotherstyle.css"> | | |
|
|
38.
|
Inline styles are found in what part of a web page? a. | title
section | c. | head
section | b. | body section | d. | table section | | | | |
|
|
39.
|
What
tag is used for embedded styles? a. | <style> | c. | <inline style> | b. | <css> | d. | <script> | | | | |
|
|
40.
|
Which
of the following is the correct CSS syntax? a. | h1 {color:blue} | c. | {h1;color:blue} | b. | {h1:color;blue} | d. | h1:style=blue | | | | |
|
|
41.
|
Which
attribute is used to create inline styles? a. | font | c. | style | b. | class | d. | styles | | | | |
|
|
42.
|
What
property is used to change the text color a. | background-color: | c. | color: | b. | font-color: | d. | blue | | | | |
|
|
43.
|
How
do you change the font for all <p> elements? a. | p
{font-family:georgia} | c. | all.p
{font-face:georgia} | b. | p.all {font-family:georgia} | d. | font:georgia | | | | |
|
|
44.
|
Which
of the following will change the text color of an element? a. | text-color: | c. | font-color: | b. | color: | d. | element-color | | | | |
|
|
45.
|
Which
of the following is an example of a Pseudo Class?
a. | .mystyle {text-decoration:none} | c. | a.mystyle {text-decoration:none} | b. | :hover
{text-decoration:none} | d. | All of these are
pseudo classes | | | | |
|
|
46.
|
How
can you make the first letter of each word a capital letter? a. | text-transform:capitalize | c. | text-transform:lowercase | b. | text-transform:uppercase | d. | You cannot do that with CSS | | | | |
|
|
47.
|
Which
of the following will change the font of an element? a. | f: | c. | font-family: | b. | font= | d. | all of these | | | | |
|
|
48.
|
How
do you make the first line of each paragraph indent? a. | indent: | c. | margin: | b. | margin-left: | d. | text-indent: | | | | |
|
|
49.
|
External style sheets are files that contain rule for displaying information and they
end in what file extension? a. | .html | c. | .css | b. | .htm | d. | .style | | | | |
|
|
50.
|
In
the following: td {text-align:left} the td is referred to as the
a. | sector | c. | property | b. | selector | d. | value | | | | |
|