Multiple choice technology programming languages

Which is not a correct name for an XML element?

  1. <NAME>

  2. <first name>

  3. <age>

  4. All three names are incorrect

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

XML element names cannot contain spaces. Option B '' contains a space which violates XML naming rules. Element names must start with a letter or underscore and can contain letters, digits, hyphens, underscores, and periods only.