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

Scott Reynen scott at randomchaos.com
Wed Dec 14 15:04:13 PST 2005

On Dec 14, 2005, at 4:15 PM, Ryan King wrote:

> 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,  
> anyway?).

Using images of stylized text with alt attributes containing the text  
is quite common:

and, um...

If you're asking about TV show titles specifically, I'm sure Charles  
could answer that better, but here's one:


My question: which should take precedence between alt and title values?


More information about the microformats-discuss mailing list