adplus-dvertising

Welcome to the HTML and XHTML MCQs Page

Dive deep into the fascinating world of HTML and XHTML with our comprehensive set of Multiple-Choice Questions (MCQs). This page is dedicated to exploring the fundamental concepts and intricacies of HTML and XHTML, a crucial aspect of HTML. In this section, you will encounter a diverse range of MCQs that cover various aspects of HTML and XHTML, from the basic principles to advanced topics. Each question is thoughtfully crafted to challenge your knowledge and deepen your understanding of this critical subcategory within HTML.

frame-decoration

Check out the MCQs below to embark on an enriching journey through HTML and XHTML. Test your knowledge, expand your horizons, and solidify your grasp on this vital area of HTML.

Note: Each MCQ comes with multiple answer choices. Select the most appropriate option and test your understanding of HTML and XHTML. You can click on an option to test your knowledge before viewing the solution for a MCQ. Happy learning!

HTML and XHTML MCQs | Page 2 of 7

Explore more Topics under HTML

Q11.
Which of the following options follows content model in HTML?
i.<ul>
     <p>Option one </p>
  </ul>
ii.<ul>
     <li>Option two </li>
  </ul>
Discuss
Answer: (b).ii
Q12.
Which of the following is not an empty element?
Discuss
Answer: (c).<p/>
Q13.
State true or false.

<p></p><p></p><p></p>produces numerous blank lines.
Discuss
Answer: (b).False
Q14.
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>
Discuss
Answer: (b).ii
Discuss
Answer: (d).Unknown attributes are ignored by the browser
Q16.
Choose the incorrect escape character entity
Discuss
Answer: (d).None of the mentioned
Q17.
Identify the count of mistakes in the following markup.
<html>
<head>
</head>
<body>
<li>
   <ul><p>Hello</p></ul>
</li>
<br>
<hr>
</body>
</html>

a.

2

b.

3

c.

1

d.

0

Discuss
Answer: (b).3
Q18.
Which attribute specifies a unique alphanumeric identifier to be associated with an element?
Discuss
Answer: (b).id
Q19.
The _____________ attribute specifies an inline style associated with an element, which determines the rendering of the affected element.
Discuss
Answer: (b).style
Q20.
Which attribute is used to provide an advisory text about an element or its contents.
Discuss
Answer: (c).title
Page 2 of 7

Suggested Topics

Are you eager to expand your knowledge beyond HTML? We've curated a selection of related categories that you might find intriguing.

Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!