hi
An attribute provides more information about an element such as classification level, unique reference identifiers, or formatting information,
(1) A characteristic that identifies and describes a managed object. The characteristic can be determined, and possibly changed, through operations on the managed object. (2) Information within a managed object that is visible at the object boundary. An attribute has a type, which indicates the range of information given by the attribute, and a value, which is within that range.
(or)
it is like an argument.. passed to the element..
What's the color of your hair? There you have an attribute.
class Person {
private Color hairColor;
private Object[] otherAttributes;
}