Home

XML Markup MCQ Question with Answer

XML Markup MCQ with detailed explanation for interview, entrance and competitive exams. Explanation are given for understanding.

Download XML Markup MCQ Question Answer PDF

Question No : 8
___________ is used for comment in XML

CDATA
<!-- -- >
//
/* */

Question No : 9
DTD stands for Data Type Definition

True
False

Question No : 10
Use _________ to specify an Attribute list

ATTLST
ATTLIST
ATTRIBUTE
LIST

Question No : 11
If DTD file is used, it always validates an XML file irrespective of how the XML file is retrieved

True
False

Question No : 12
In Schema data type can be specified using

dataType
type
dt:type
data:type

Question No : 13
In Schema Attribute list can be set to any element

True
False

Question No : 14
If two styles are mentioned as
p{ color:blue }
p.abc{ color:red } and paragraph tag is used as <p class=abc>Hello World</p> then

The color of Hello World will be red
The color of Hello World will be blue
The color of Hello World will be the default color ie. Black
None of the above