Machine-translated by Google. Questions are authored in English.
Top

Discussion

An XML component that defines the structure of a document is known as a(n):

  • A.DOCTYPE.
  • B.DTD.
  • C.#PCDATA.
  • D.HTML Stylesheet.

Answer: B

Correct answer: DTD.

A Document Type Declaration defines the structure a class of documents must follow - which elements may appear, in what order, and with what attributes. A document conforming to it is type-valid. The DTD begins with the keyword DOCTYPE, which is why that word is a plausible but wrong answer to this question.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.