Multiple choice xhtml

What is the DTD?

  1. A method tied to an object

  2. A Detrimental Transitional Development

  3. The Document Type Declaration

  4. The Difinitive Type Definition

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

DTD stands for Document Type Declaration. It defines the structure and legal elements of an XML or XHTML document, telling parsers which tags and attributes are valid.

AI explanation

Among the four options, 'The Document Type Declaration' (id 5250) is the intended correct answer; the other three are clearly wrong ('A method tied to an object' describes an OOP method; 'A Detrimental Transitional Development' and 'The Difinitive Type Definition' are nonsense/misspelled distractors). Pedantic caveat: the canonical expansion of the acronym DTD is actually 'Document Type Definition' (the grammar/rule set defining an SGML/XML document's legal structure). 'Document Type Declaration' is a distinct but closely related term — the DOCTYPE declaration that references or embeds a DTD. The exact standard phrase 'Document Type Definition' is not offered as an option (5251 says 'Difinitive Type Definition', which is misspelled and wrong). Given the choices available, 5250 is the closest and the plainly intended answer, so the DB marking stands, though the option wording should ideally be corrected to 'Definition'.