The alt attribute allows to attach a description to an image. The value of the alt attribute can be any double quoted string of less than 1024 characters. Its not required but it is strongly recommended to add the alt attribute to the
For descriptions with more than 1024 characters, use the longdesc attribute of the
alt="Quote Fellas - A website to get world famous quotes"
- If the browser cannot download an image or set to not download the images, the browser will render the value of the alt attribute instead of the image.
- A tooltip will appear containing the value of the alt attribute if we hover the mouse over an image
- The value of the alt attribute is important for tool to aid vision-impaired people.