TP Exam 1
Study online at https://quizlet.com/_fnpqca
1. Which attributes are used to merge a table cell across rowspan and colspan
multiple rows or columns in HTML?
a) rows and cols
b) height and width
c) x and y
d) rowspan and colspan
e) length and height
2. What is the result of the following expression if x = true, true
y = false, and z is undefined: x || y || z?
a) true
b) false
3. Which HTML tag pair defines a table cell? <td> </td>
a) <tr> </tr>
b) <cell> </cell>
c) <element> </element>
d) <td> </td>
e) <tc> </tc>
4. Which HTML element do you use to place JavaScript? <script>
a) <javascript>
b) None of these are correct
c) <script>
d) <js>
e) <scripting>
5. Which of the following creates a <textarea> with a total <textarea rows="32"
of 320 visible characters? cols="10"> </textarea>
, TP Exam 1
Study online at https://quizlet.com/_fnpqca
a) <textarea width="160" height="2"></textarea>
b) <text area height="160" length="2"></text area>
c) <text= "320"></text>
d) <textarea rows="32" cols="10"></textarea>
e) <textarea rowspan="32" colspan="10"></textarea>
6. rows and cols vs rowspan and colspan rows and cols speci-
fy the dimensions of a
<textarea> while rowspan
and colspan are used for
table cells
7. Which attribute specifies the URL to which a form's action
data will be submitted?
a) destination
b) src
c) method
d) action
e) target
8. src vs method vs action src is used with <img> and
<script>.
method specifies HOW
data is sent.
action specifies WHERE
data will be sent.
9. Which of the following represents a valid URL for an https://www.exam-
image source (src) in an <img> tag? ple.com/path/to/im-
age.jpg
a) file.png
Study online at https://quizlet.com/_fnpqca
1. Which attributes are used to merge a table cell across rowspan and colspan
multiple rows or columns in HTML?
a) rows and cols
b) height and width
c) x and y
d) rowspan and colspan
e) length and height
2. What is the result of the following expression if x = true, true
y = false, and z is undefined: x || y || z?
a) true
b) false
3. Which HTML tag pair defines a table cell? <td> </td>
a) <tr> </tr>
b) <cell> </cell>
c) <element> </element>
d) <td> </td>
e) <tc> </tc>
4. Which HTML element do you use to place JavaScript? <script>
a) <javascript>
b) None of these are correct
c) <script>
d) <js>
e) <scripting>
5. Which of the following creates a <textarea> with a total <textarea rows="32"
of 320 visible characters? cols="10"> </textarea>
, TP Exam 1
Study online at https://quizlet.com/_fnpqca
a) <textarea width="160" height="2"></textarea>
b) <text area height="160" length="2"></text area>
c) <text= "320"></text>
d) <textarea rows="32" cols="10"></textarea>
e) <textarea rowspan="32" colspan="10"></textarea>
6. rows and cols vs rowspan and colspan rows and cols speci-
fy the dimensions of a
<textarea> while rowspan
and colspan are used for
table cells
7. Which attribute specifies the URL to which a form's action
data will be submitted?
a) destination
b) src
c) method
d) action
e) target
8. src vs method vs action src is used with <img> and
<script>.
method specifies HOW
data is sent.
action specifies WHERE
data will be sent.
9. Which of the following represents a valid URL for an https://www.exam-
image source (src) in an <img> tag? ple.com/path/to/im-
age.jpg
a) file.png