adplus-dvertising
frame-decoration

Question

Which of the following is used to declare an element having only character data?

a.

#char

b.

#PCDATA

c.

#Text

d.

#CDATA

Answer: (b).#PCDATA

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following is used to declare an element having only character data?

Similar Questions

Discover Related MCQs

Q. Which of the following is used to declare attributes?

Q. Which of the following describes a DTD element that contains both text and other child elements?

Q. Which of the following declarations must every xml document that uses a DTD have?

Q. Which of the following declaration must be used for an external DTD

Q. W3C schema is written in

Q. An XSD document describes the structure of

Q. What is the full form of XSD?

Q. Which of the following is not true regarding an XML schema?

Q. Which of the following is the correct representation of data and time in XML schema?

Q. Which of the following matches best with XML schema?

Q. Which of the following is the greatest strength of XML schema?

Q. Which of the following is true regarding schema?

Q. A simple element is an XML element that can contain

Q. Which of the following is not a kind of complex element?

Q. Which of the following is false regarding a complex element?

Q. The syntax for defining an attribute is

Q. Attributes are by default

Q. Restrictions that are incorporated on XML elements are called

Q. Which of the following is false regarding an empty element?

Q. In XML schemas the default model for complex types is