Multiple choice technology programming languages

Which of the following are true?

  1. Tags in XML cannot contain spaces in them.

  2. Tag Names can start with a character (A-Z) or an _(Underscore)

  3. Tag Names starting with Underscore cannot have another Underscore in them.

  4. Tag Names cannot start with an Underscore

Reveal answer Fill a bubble to check yourself
A,B,C Correct answer
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.