XML elements cannot be empty

  1. True

  2. False


Correct Option: B

AI Explanation

To answer this question, you need to understand the concept of XML elements.

Option A) True - This option is incorrect. XML elements can be empty. In XML, an element can have content or it can be empty. An empty element is represented by a self-closing tag, such as ``.

Option B) False - This option is correct. XML elements can be empty. An empty element is represented by a self-closing tag, such as ``. This is a valid way to represent an element with no content.

The correct answer is B) False.

Find more quizzes: