I am infinitely embarrased and the only reason I am going to share this is so you don't make the same life-long mistakes I have been making. If you 'already knew this' then great, I don't need you to make me feel even worse.
To make a link to a specific section of a page (aka Fragment Identifiers) I used to use:
<a name="gohere"></a>
<h2>New Section</h2>
and then link to it with
<a href="#gohere">Link to new section</a>
when all my life it should have been (and using the same link code)
<h2 id="gohere">New Section</h2>
The worse part is I think I vaguely remember reading this somewhere but must've forgotten. I really feel awful about making this mistake, but at the same time it is liberating that I can semantically carry on with my life. This fit of my own stupidity brought to you by Joe Clark's thoughtfully meaningful blog.
PS. I wrapped those examples with <samp> and not <code> because it is sample computer code and not useful computer code.
12:01 PM on 09.02.05
heh, i remember asking you how to do that, and you giving me the "wrong" version.. needless to say, i've been using that one. thanks for posting the correct code :-)