eWebProgrammer eweb  





DTD Basics   «Prev  Next»

DTD Module Conclusion - Quiz

Each question is worth one point. Select the best answer or answers for each question.
 
1. When creating a DTD for an existing XML document, when should you determine the root element?

Please select all the correct answers

.
  A. After you list all the elements used in the document
  B. As the first step
  C. Only if your document will not render the document in a browser
D. As the final step
  E. Before you determine the document tree structure for the elements


2. Which of the following steps should you take when creating a DTD for an existing XML document?

Please select all the correct answers

.
  A. Deciding whether elements should appear in a specific order
  B. Noting which elements will contain text, and which will contain only other elements
  C. Listing all the document elements in alphabetical order
  D. Determining whether certain elements' content must be present

3. How do you specify that child elements contained in an element must appear in the same order specified by the DTD file?

Please select the best answer

.
  A. Use vertical slashes ( | ) to separate ordered child elements in the element declaration
  B. Add a plus sign (+) after the child elements in the element declaration
  C. Use commas ( , ) to separate ordered child elements in the element declaration
  D. Add a forward slash ( / ) before the closing bracket of the child element declaration