Proper use of the altattribute can be summarized with four key points: 1. So, optimizing images can result in higher traffic to your website. The alt attribute can only be used on the area, input (for image buttons) and img element. Alt attributes offer a text-based alternative for translating images, and more specifically for incorporating relevant keywords. The alt attribute provides an “alternative description” for the image. Every image should have an alt attribute to be accessible, but it need not contain text. Functional images Often images will be wrapped in a anchor link element () or a