Question 154Asked in DSSSB TGT Computer Science, 7 Feb 2024, Shift 2 (12:30 PM)

Which of the following rule is needed to be followed while declaring the XML

Which of the following rule is needed to be followed while declaring the XML (Extensible Markup Language) elements name?
  1. AName must start with a number
  2. BName can contain spaces
  3. CName must not start with the letter xml
  4. DName cannot contain letter, numbers and other characters
Show answerHide answer

Correct answer: (C) Name must not start with the letter xml

Explanation

XML element names must not start with "xml" (in any case), cannot start with a number or contain spaces, but can contain letters, digits and characters like hyphen and underscore.

From DSSSB TGT Computer Science PYQ, 7 Feb 2024, Shift 2 (12:30 PM)

This is question 154 of DSSSB TGT Computer Science PYQ, 7 Feb 2024, Shift 2 (12:30 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.