Question - What is the difference between a simple element and a complex element?
Answer -
Simple elements cannot be left empty. It contains fewer attributes, child elements, etc. Simple elements are text-based elements. Complex elements can contain sub-elements, empty elements, etc. The complex element can hold multiple attributes and elements.