DTD Basics   «Prev  Next»

Defining DTD XML - Quiz

Each question is worth one point. Please select the best answer or answers for each question.

 
1. What does an XML DTD allow you to do? Please select the best answer.
  A. Create meaningful document structure and apply it consistently.
  B. Define which elements will be used and how.
  C. Share information across documents.
  D. Create well-formed XML documents.

2. Which of the following descriptions applies to a valid XML document? Please select the best answer.
  A. It is well-formed.
  B. It conforms to a specified DTD.
  C. It has an xml declaration (?xml?) indicating the xml version.
  D. It has a root element.

3. Which of the following characteristics is true of an element name in a DTD? Please select the best answer.
  A. Begins with the letters "xml"
  B. Uses all lower-case letters
  C. Uses the colon character
  D. Begins with a letter