Alt Attribute The Alt Attribute is the text contained after the alt tag in a link, and is most often used as alternate text to describe a linked image. The tag is used in HTML and XHTML programming.