What is the Difference between Elements and Attributes?

Image

But it is not okay to have:

Image

2. Elements can be defined to be in a certain order (i..e sequence), while attributes can appear in any order.

The following link contains additional information on XML elements and attributes: http://xml.coverpages.org/elementsAndAttrs.html