« Image Hot Linking | Main | Domain Name for 100 Years »

Wednesday, April 14, 2004

Common img Tag Problems with W3C MarkUp Validator

Something else I discovered today - whilst running my site through the W3C MarkUp Validator, I kept getting errors for my img tags. Apparently, they weren't XHTML 1.0 Transitional or at least I didn't mark them up correctly to comply. After snooping around a bit and looking at other compliant sites, I finally figured out that I needed to include the alt attribute and a / at the end of the tag.

Post a comment


Powered by
Movable Type 3.35