Attributes provide additional information about element that they appear in. They take the form of name-value pairs in the element. The emphasized parts of this example are attributes:
<author name="a.kernighan"> <resume id="r25a4">
An element of an XML document that defines an “object”, such as <resume> or <firstname>. HTML tags are examples of elements. Additionally, elements can have attributes.