Home »
MCQs »
XML MCQs
Which options are true regarding a well-formed XML document?
28. Which options are true regarding a well-formed XML document?
- Each tag must have a closing tag
- The opening and closing tag are the same i.e., their case must be the same
- The child tag must be closed within the parent tag i.e., as per the order, before closing the parent tag.
- All of the above
Answer: D) All of the above
Explanation:
All the above options (A, B, and C) and true to write a well-formed XML document,
- Each tag must have a closing tag
- The opening and closing tag are the same i.e., their case must be the same
- The child tag must be closed within the parent tag i.e., as per the order, before closing the parent tag.