ALT Attribute

What does ALT Attribute mean?

An alt attribute is a text version of an image. This is an HTML code that provides information used by search engines to understand the contents of an image.

Here is an example of alt attribute:
<img scr=”smartphone.jpg” alt=”samsung mobile”/>

You can see live example of alt attribute here:
alt attribute example

An alt attribute is beneficial for visually impaired visitors who can’t see the image.
It also helps search engines to analyze the subject of an image so they know when to include an image in relevant search results. This makes images with alt attributes more likely to be found.