Mark Clements (HappyDog) wrote:
> 
> It is possible to have several identical headings on a page, but you are not 
> allowed to have duplicate id attributes within a page, so it's not as simple 
> as just using the section name as is currently the case.  Note that 
> duplicate values for the 'name' attribute is perfectly valid HTML, though a 
> little useless as a link destination (the first occurence on the page will 
> always be used).  Actually, come to think of it, how does the TOC handle 
> this?

Headings that would have a name attribute identical to an earlier 
heading will have a number appended to the name to make it unique.  So 
no problem there.

-- 
Ilmari Karonen

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to