in reply to Re^2: [HOWTO] Footnotes? (<a ... />)
in thread [HOWTO] Footnotes?

And to build on tye's comment -- there's no reason for an empty anchor, even if it's not a link.

After all, if you're trying to link to something, there needs to be a something -- that something should go inside the <a> ... </a>. Even in the case of 'jump to top' or 'jump to bottom' links, you're linking to specific sections of the page, not a blank space.

Replies are listed 'Best First'.
Re^4: [HOWTO] Footnotes? (<a ... />)
by tye (Sage) on Jul 07, 2005 at 03:18 UTC

    Since you mentioned it, I'll also note that my personal CSS says that underlining <a ...> spans is "important", because I particularly hate the practice of removing the one (formerly) universal visual hint that "this is a link". And a side effect of this is that name= "anchors" are underlined (but not colored) so I like it when "link to here" parts are appropriately selected, such as around the heading.

    Occasionally I see sites that have the "anchor" around an entire paragraph or more, which is mildly annoying but easy for me to put up with because I know the cause and the benefit still *far* outweighs this "problem". And I've gotten used to the "extra" underlines so I doubt I'll bother to learn how to apply my CSS to just non-"name=" <a ...> spans.

    - tye