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 1 of 7

Discuss
Answer: (d).None of the mentioned
Q2.
According to the rules of XML and XHTML, all elements must be closed either with an end tag or by self-closing with a space, slash, and a right-pointing angle bracket.
Discuss
Answer: (a).True
Q3.
__________ is the XML equivalent to strict HTML 4.01.
Discuss
Answer: (a).XHTML 1.0 Strict
Discuss
Answer: (b).Attribute values must be quoted
Q5.
The root element of an XHTML document must be html, and must contain an __________ attribute to associate it with the XHTML namespace.
Discuss
Answer: (c).xmlns
Q6.
Which of the following encoding an XML parser assumes ?
Discuss
Answer: (d).both a and b
Q7.
__________ is an extended version of the XHTML markup language for supporting RDF through a collection of attributes and processing rules in the form of well-formed XML documents.
Discuss
Answer: (a).XHTML+RDF
Q8.
XML is a markup language where documents must be marked up correctly.
Discuss
Answer: (a).True
Q9.
Which of the following prints bold letters in traditional HTML?

i. <B>Go boldly</B>
ii. <B>Go boldly</b>
iii. <b>Go boldly</B>
iv. <b>Go boldly</b>
Discuss
Answer: (c).i, ii, iii, and iv
Q10.
What output dou you expect if the following markup is rendered?
<strong>T   e    s   t   o  f  s  p  a  c  e  s</strong><br>
<strong>T e s t &nbsp;o f&nbsp; s p a c e s </strong><br>
Discuss
Answer: (c).T e s t o f s p a c e s
T e s t o f s p a c e s
Page 1 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!