Depending on the technology discussed, the term attribute can be treated as equivalent to a property or as a set of attributes, such as the number of elements in a file or the size of an element in the file. An attribute defines a certain value for a particular instance of a particular property or object in an object or element. It could also specify specific values for given cases of this kind and refer to specific properties of the same object, element and / or element type.
In computing, an attribute is a specification that defines a property, object, or element in a file.
In C++ programming language, attributes are equivalent to annotations in Java and are the metadata attached to an object, such as a file, file name or file type. Attributes are a structured way to add metadata to a class, method, variable and other data structures