Which is not a correct name for an XML element?
-
<7lastname>
-
<lastname>
-
<last name>
-
<last_name>
A,C
Correct answer
Explanation
XML element names must follow strict naming rules. They cannot start with a number (7lastname is invalid) and cannot contain spaces (last name is invalid). Valid names like lastname and last_name follow the rules: starting with a letter or underscore, and containing only letters, digits, hyphens, underscores, or periods.