Attributes may refer to any of the following:
1. In reference to computer systems, attributes are the characteristics of a file in the context of a file system. For example, if the file had a read-only attribute the file cannot have any changes (write protection), it can only be read. See our file attributes definition for further information about this type of an attribute.
3. Within an HTML tag, an attribute dictates certain aspects of an element. Attributes are made up of a name and value pair. In the 'a' tag example below, "href" is an attribute name with the value "hope.html."
Do I need quotes around attribute values?
Yes. Although today's browsers can fix any errors with missing quotes around an attribute value, you should always have quotes around an attribute value to prevent errors.
5. In database management systems, an attribute is sometimes used as a synonym for a field.