DTD Basics   «Prev  Next»

DTD Construction - Quiz

Each question is worth one point. Select the best answer for each question.
1. Which of the following choices describes a DTD element that contains both text and other child elements? Please select the best answer.
  A. Complex Declaration
  B. Character elements
  C. Tree structure
  D. Mixed content

2. Which of the following declarations must every XML document that uses a DTD have? Please select the best answer.
  A. A <!DTD> declaration
  B. A <STANDALONE> declaration
  C. A <DOCTYPE> declaration
  D. A <!DOCTYPE> declaration

3. Which of the following syntaxes should you use to declare that your DTD is in a separate file? Please select the best answer.
  A. <?xml version="1.0" standalone="no"?>
  B. <!doctype standalone="no">
  C. <?xml version="1.0" standalone="yes"?>
  D. <!doctype standalone="yes"!>

Your score is 0.0