Option1 Element syntax

The first XML file structure that we are going to explain consists of a set of opening and closing tags and the information in-between. Any pair of opening and closing tags around the information is called an element.

Option 2 Attribute syntax

The first XML file structure that we are going to explain consists of a set of opening and closing tags but in contrast to the Element approach the the information is stored in attributes, rather than child elements.