Question 55Asked in DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 2 (1:00 PM)

Which of the following are key components of an XML document?

  1. ATags, attributes, and comments
  2. BHTML tags and hyperlinks
  3. CClasses, objects, and functions
  4. DScripts, styles, and images
Show answerHide answer

Correct answer: (A) Tags, attributes, and comments

Explanation

An XML document is made of elements (tags), attributes, text content, comments and a prolog/declaration. HTML tags, classes or scripts are not its components.

From DSSSB TGT Computer Science PYQ (Technical), 12 Sep 2025, Shift 2 (1:00 PM)

This is question 55 of DSSSB TGT Computer Science PYQ (Technical), 12 Sep 2025, Shift 2 (1:00 PM). 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.