Another great use of attribute selectors in our page is to give the photos a different style than the map thumbnail. To do this without CSS3, we could simply give the thumbnail a class and apply unique styles to this class. This would be quite easy in this particular page. But using classes is not always so simple in the real world.
While classes have many legitimate uses, they do have some problems that make them difficult to use in some situations.