[uf-discuss] RFC: Using <img>'s alt attribute for Microformats

Ryan King ryan at technorati.com
Wed Dec 14 14:15:51 PST 2005

On Dec 14, 2005, at 12:47 PM, Charles Iliya Krempeaux wrote:
> So, maybe hCard's, hReview's, etc should allow this too?  For example:
>     <address class="vcard">
>         <img class="fn" src="my-name-in-styled-lettering.png"
> alt="Charles Iliya Krempeaux" />
>     </address>
> (And, yeah, I know this would give the problem that would can't add
> the sub-structure to the "fn" that hCard's allow.  But you could
> always break it up into multiple images if you wanted.  And at least
> then you'd support this very common practice.)

For properties that don't expect images it might be reasonable to use  
the alt attribute value for the value of the property. However, it  
might be a bit too open ended (and how often do people do this,  

Ryan King
ryan at technorati.com

More information about the microformats-discuss mailing list