Question 8

In order to interpret XML documents, you need to :

  1. AUse standardized predefined tags
  2. BSpecify the tags separately in a file
  3. CHave a document type definition for the tags
  4. DUse standardized HTML tags
Show answerHide answer

Correct answer: (C) Have a document type definition for the tags

Explanation

XML has no predefined tags, so the meaning and allowed structure of user-made tags must be described in a Document Type Definition (DTD) or schema.

From DSSSB TGT Computer Science Practice Set 5

This is question 8 of DSSSB TGT Computer Science Practice Set 5. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.