ALT attribute (or simply ‘alt’) is the HTML attribute used in HTML and XHTML to specify alt text (alternative text). This alternative text is employed when the intended audience cannot interact with the element it is meant to represent. In SEO, alt text is often applied to images.