Multiple Choice
Which of the following statements is correct?
A) Elements cannot have attributes.
B) An XML document starts out with an HTML declaration and contains elements and text.
C) An element must contain text or elements, not both.
D) An attribute is appropriate only if it tells something about the data but is not part of the data itself.
Correct Answer:

Verified
Correct Answer:
Verified
Q1: Which of the following is not true
Q2: The symbol #PCDATA refers to text, called
Q4: Given the following code, what will the
Q5: A number of useful advanced XML technologies
Q6: How can a DTD specify that a
Q7: When referencing an external DTD (one not
Q8: _ is an extensible syntax that
Q9: Given the following code, what will the
Q10: The method setIgnoringElementContentWhitespace is in the _
Q11: Where is the createElement method located?<br>A)DocumentBuilder class.<br>B)newBuilder