In page Anchors

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Just wondering if people have any info on the use of
<a name="" />  over  <a name=""></a> for using same page anchors?

Booth appear to pass the w3c xhtml 1.0 trans validator. Thx


"I can speak to people anywhere in the world, I can get any information
I want, I can goto new zealand in 0.384 seconds, why would I want to go
"The voices have stopped now. But they had some good ideas."
ZGF0YWZsZXhAY2FubmFiaXNtYWlsLmNvbQ==  [ ]

Re: In page Anchors

in alt.html, Mimic wrote:
Quoted text here. Click to load it

First one most likely causes problems (it will cause nested a elements,
which are sometimes corrected, sometimes not.), latter might work in some
situations, both are bad idea. Use id attribute on right place, or wrap
some content in anchor element.
Quoted text here. Click to load it

Why are you using XHTML transitional? Validation is tool that finds
syntax errors. Since correct syntax has little to do with XHTML page that
works in WWW, it is not very useful tool, unless you understand what it
is for.

Lauri Raittila < <
Utrecht, NL.

Re: In page Anchors

Quoted text here. Click to load it

Use the <a name=""></a> form and put an id attribute in there too. Use
the same value for each, and make sure that it's valid for use as an
ID (no whitespace).

Read these too

Site Timeline