[uf-discuss] a[name] as machine data?

James Craig jcraig at apple.com
Thu May 10 15:45:29 PDT 2007


Ryan King wrote:

> James Craig wrote:
>
>> Haven't thought too much about this, but are there any obvious  
>> gotchas to using an anchor element with name attribute as a  
>> potential replacement for the abbr-design-pattern?
>
> I believe a[name] and @id need to be unique across an entire page.  
> This would make it impossible to have two events with the the same  
> dtstart, dtend or dtstamp on the same page. I think that makes it  
> unworkable.

Only ID has that restriction. Radio buttons, for example, require  
elements have unique IDs but the same NAME.

James



More information about the microformats-discuss mailing list