An attribute is something that gives the browser extra information about the element. Attributes are only specified on opening tags, since there is no point in telling the browser something about a tag that is being closed.
For example, <BODY bgcolor="white">, bgcolor is BODY's attribute. Attributes usually have values, e.g., <TAG attribute="value">, but not in all cases - e.g., <TABLE border>.