What is an Attribute ?

Attributes are additional information about an element.  They are represented as a NAME-VALUE pair.  The NAMEs follow the same rule as element names and they are separated from the VALUE by the equal character.  The VALUE of the attribute is enclosed in either double or single quotes.  An element can have zero or more attributes in the start tag.

<Player firstname="Andre" lastname="Agassi">

Player        -    Element Name

firstname   -    Attribute Name

Andre        -    Attribute Value