Friday, February 9, 2007, 11:28:23 PM, Joshua Kinberg wrote:

>> Although I agree with you Josh, why is class=media-thumbnail better than
>> rel=thumbnail in this example?
>> (It's consistent?)

> The only reason is that rel is not valid XHTML attribute for <img>

So why not wrap the image in an anchor tag which _does_ support rel:

<a href='mythunbnail.jpg' rel='thumbnail'><img src='mythumbnail.jpg'/></a>

Then it will show fine in browsers, be XHTML compliant, and easy to
scrape while generating a feed.

Thoughts?

-- 
Frank Carver   http://www.makevideo.org.uk

Reply via email to