Multiple choice technology web technology

Which of the following statement is true?

  1. Names cannot start with a number or punctuation character

  2. Names cannot start with the letters xml (or XML, or Xml, etc)

  3. Names can contain spaces

  4. All the above

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

XML element names must follow specific rules: they cannot start with numbers or punctuation characters (statement A is true), and they cannot start with 'xml' in any case combination as this is reserved (statement B is true). Statement C is false because spaces are not allowed in XML names. Therefore, 'All the above' (D) is incorrect.