What Does Attribute Mean?

In general, an attribute is a characteristic. In HTML, an attribute is a characteristic of a page element, such as font size or color. Attributes are used to amplify a tag. When a Web browser interprets an HTML tag, it will also look for its attributes so that it can display the Web page’s elements properly.


Techopedia Explains Attribute

Attributes provide additional information about HTML elements. For example, HTML links are defined by the a tag. The link address is specified in the “href” attribute. Note that HTML attributes are always enclosed in quotes.

HTML attributes have a few key characteristics:

  • Attributes provide more information about HTML elements
  • Attributes are always specified in the start tag
  • Attributes are presented in name/value pairs such as: name=value

Related Terms

Latest DevOps Terms

Related Reading

Margaret Rouse

Margaret Rouse is an award-winning technical writer and teacher known for her ability to explain complex technical subjects to a non-technical, business audience. Over the past twenty years her explanations have appeared on TechTarget websites and she's been cited as an authority in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine and Discovery Magazine.Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages. If you have a suggestion for a new definition or how to improve a technical explanation, please email Margaret or contact her…