Multiple choice technology web technology

Which statement is true?

  1. All XML elements must be properly closed

  2. All the statements are true

  3. All XML elements must be lower case

  4. All XML documents must have a DTD

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

All XML elements must be properly closed, either with a separate closing tag (like ) or as an empty element using self-closing syntax (like ). This is a fundamental requirement for well-formed XML documents. Option C is false because XML is case-sensitive but case can be mixed. Option D is false because DTD is optional - XML can exist without a DTD.