 An attribute of an object usually consists of a name and a value; of an element, a type or class name; of a file, a name and extension.For example, in computer graphics, line objects can have attributes such as thickness (with real values), color (with descriptive values such as brown or green or values defined in a certain color model, such as RGB), dashing attributes, etc.A circle object can be defined in similar attributes plus an origin and radius.