[uf-discuss] entry-title on <img>

Scott Reynen scott at randomchaos.com
Fri Apr 4 14:23:38 PST 2008


On Apr 4, 2008, at 12:34 PM, Sarven Capadisli wrote:

> all grab the @alt value for entry-title. Is this documented anywhere
> for hAtom parsing?

It's documented here:

http://microformats.org/wiki/parsing

I just added a link to that from here:

http://microformats.org/wiki/hatom-parsing

It may be other places, but it seems to be ignored in searches.

> In the case of <img> should entry-title be the @title value since it
> is more accurate - also more visible - then the use of @alt? If @title
> is absent, then perhaps @alt may be used?

I don't think so.  @alt is alternative content ("this attribute  
specifies alternate text"), whereas @title is description of that  
content ("This attribute offers advisory information about the element  
for which it is set."), so @alt should be preferred for textual  
properties (e.g. entry-title).

Peace,
Scott



More information about the microformats-discuss mailing list