Posted on October 5th, 2009
1507 views For those of you that are new to HTML, I'm sure you have come accross the alt attribute a couple times while looking at other peoples code. Bascily alt is used to define an "alternate text". If an image doesn't load, that text will appear. If it does load, then when you roll over the image, the text appears in a small box. Ok lets get started here. Our code is a simple image: Nothing special here. But for those of you that don't know how to implement the alt attribute take a look at the example below. Piece of cake! |