🎴 Flashcard Mode

XML and Markup Languages

Card1 / 17
Mastered0
Review0
QuestionClick to flip

Which of the following are true?

AnswerClick to flip back
A
Tags in XML cannot contain spaces in them.
B
Tag Names can start with a character (A-Z) or an _(Underscore)
C
Tag Names starting with Underscore cannot have another Underscore in them.
💡 Explanation:

XML tag names cannot contain spaces (option A). Tag names can start with letters (A-Z) or underscores (option B). If a tag name starts with an underscore, it can contain additional underscores (option C is true). Option D is false because tag names CAN start with underscores - they're valid. XML naming rules are specific but allow underscores in both positions.

Change Mode