Explore topic-wise MCQs in Html.

This section includes 19 Mcqs, each offering curated multiple-choice questions to sharpen your Html knowledge and support exam preparation. Choose a topic below to get started.

1.

Scope attribute can’t have the value __________

A. row
B. rowgroup
C. col
D. <head>
Answer» E.
2.

Which of the following does not specify a column width?

A. Fixed
B. Percentage
C. Proportional
D. Pixels
Answer» E.
3.

Which attribute defines numbers of columns in a group?

A. width=multi-length[CN].
B. span=number[CN].
C. scope=scope-name[CN].
D. headers=idrefs[CS].
Answer» C. scope=scope-name[CN].
4.

Borders can’t be applied on ________________

A. <th>
B. <td>
C. <tr>
D. <thead>
Answer» D. <thead>
5.

WHICH_ATTRIBUTE_DEFINES_NUMBERS_OF_COLUMNS_IN_A_GROUP??$

A. width=multi-length[CN].
B. span=number[CN].
C. scope=scope-name[CN].
D. headers=idrefs[CS].
Answer» C. scope=scope-name[CN].
6.

Scope attribute can’t have the value __________$#

A. row
B. rowgroup
C. col
D. <head>
Answer» E.
7.

Which_of_the_following_does_not_specify_a_column_width?$

A. Fixed
B. Percentage
C. Proportional
D. Pixels
Answer» E.
8.

valign attribute does not take the value __________________

A. justify
B. middle
C. baseline
D. bottom
Answer» B. middle
9.

Which of the following is not the value for align attribute?

A. justify
B. char
C. middle
D. left
Answer» D. left
10.

Which of the following is not the value for rules attribute?

A. vsides
B. rows
C. all
D. groups
Answer» B. rows
11.

Which of the following is not the value for frame attribute?

A. above
B. void
C. none
D. box
Answer» D. box
12.

Borders can’t be applied on _______________?#

A. <th>
B. <td>
C. <tr>
D. <thead>
Answer» D. <thead>
13.

border-spacing is given in _____________

A. pixels
B. cm
C. mm
D. inch
Answer» B. cm
14.

For adding caption to the table we use ____________

A. <caption>
B. <thead>
C. <th>
D. <tr>
Answer» B. <thead>
15.

Which of the following element is not associated with a class attribute?

A. Row
B. <thead>
C. Column cell
D. Rows
Answer» C. Column cell
16.

Which of the following is not the element associated with HTML table layout?

A. size
B. spanning
C. alignment
D. color
Answer» E.
17.

Headings of table lies inside ___________

A. <thead>
B. <tfoot>
C. <th>
D. <tbody>
Answer» B. <tfoot>
18.

For heading we can use ____________

A. <td>
B. <tr>
C. <thead>
D. <th>
Answer» E.
19.

Each cell of the table can be represented by using __________

A. <tr>
B. <td>
C. <th>
D. <thead>
Answer» C. <th>