What is an Alt Text or Alternative Text?

Alt text (alternative text) is a text description that can be inserted as an attribute in an HTML document to tell website viewers the nature or contents of an image. When an image in the web page cannot be displayed, the Alt text appears.