There are five different classes of image used on web pages and each class of image requires a different approach to writing the 'alt' attribute.