Jump to the main content.

Tips&Tricks for the modern day web designer

Always provide an alt text in img elements

Submitted by: WebD&D on February 3, 2010.

The alt attribute is a textual replacement for the image which is not being displayed. It must always be used, even if the image in question is purely decorative–in that case, the alt attribute should be an empty string.

Read the outside article: Guidelines on alt texts in img elements

1 Star2 Stars3 Stars4 Stars5 Stars

Loading ... Loading ...

Tags: , ,

Level: Beginner