In using or programming computers, an attribute is a changeable property or characteristic of some component of a program that can be set to different values . In the Hypertext Markup Language (HTML), an attribute is a characteristic of a page element, such as a font.