Explore topic-wise MCQs in Html.

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

1.

Identify the count of mistakes in the following markup.
<html>
<head>
</head>
<body>
<li>
<ul><p>Interview Mania</p></ul>
</li>
<hr>
</body>
</html>

A. 0
B. 1
C. 2
D. 3
E. None of these
Answer» E. None of these
2.

Which of the following options follows content model in HTML?
i.<ul>
<p>First </p>
</ul>
ii.<ul>
<li>Second </li>
</ul>

A. ii
B. i
C. Neither i nor ii
D. i and ii both
E. None of these
Answer» E. None of these
3.

Which of the following markup is correct?
i. <b><i>is in error as tags cross</b></i>
ii. <b><i>is not since tags nest</i></b>

A. ii
B. i
C. Neither i nor ii
D. i and ii
E. None of these
Answer» B. i
4.

State true or false.
<p></p><p></p><p></p>blank lines.

A. False
B. True
C. NA
D. NA
E. NA
Answer» B. True
5.

Which of the following options follows content model in HTML?

A. ii
B. i
C. Neither i nor ii
D. i and ii both
E. None of these
Answer» E. None of these
6.

Which of the following is not an empty element?

A. <br/>
B. <hr/>
C. Both <hr/> and <br/>
D. <p/>
E. None of these
Answer» E. None of these
7.

Which of the following prints bold letters in traditional HTML?

A. <b>Go boldly</b>
B. <b>Go boldly</B>
C. <B>Go boldly</b>
D. <B>Go boldly</B>
E. All of above
Answer» F.
8.

Choose the correct tag for the largest heading in HTML.

A. head
B. h6
C. heading
D. h1
E. None of these
Answer» E. None of these
9.

XHTML is case insensitive and HTML is case sensitive.

A. False
B. True
C. NA
D. NA
E. NA
Answer» C. NA
10.

Identify the count of mistakes in the following markup.

A. 0
B. 1
C. 2
D. 3
E. None of these
Answer» E. None of these
11.

Choose the correct HTML for width attribute and its value.

A. WIDTH= 80
B. WIDTH=80
C. width= 80
D. width=80
E. None of these
Answer» D. width=80
12.

State whether the given statement is true or false. We can intermix XHTML and HTML 4.01 documents

A. False
B. True
C. NA
D. NA
E. NA
Answer» B. True
13.

Which of the following markup is correct?

A. ii
B. i
C. Neither i nor ii
D. i and ii
E. None of these
Answer» B. i
14.

Choose the incorrect escape character entity.

A. >
B. &st;
C. >
D. <
E. None of these
Answer» C. >
15.

State true or false.

A. False
B. True
C. NA
D. NA
E. NA
Answer» B. True