cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hunsberger, Peter" <Peter.Hunsber...@stjude.org>
Subject RE: Empty anchor tags
Date Tue, 29 Oct 2002 17:51:27 GMT
> Thanks, it works now. Should follow the specs. Wasn't <a name="foo"> valid
> in HTML 4.0, though? Id is better anyway, it's more generic.

It's still valid, from the same document:

http://www.w3.org/TR/html401/struct/links.html#h-12.2.1

You can use either name or id, but the name has to be unique.

>> > <a name="foo">
>>
>> Whooa, that would be a spec violation, IIRC... :-)
>>
>> > Called with:
>> >
>> > <a href="#foo">link to foo</a>
>> >
>> > This doesn't work with IE:
>> >
>> > <a name="foo"></a>
>> >

Unless I missed something I don't think there is an obvious reason one
should work and the other not work...

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message