Associating Hidden Infomation with an Anchor

I'd like to associate some arbitrary hidden information with an anchor
end-point (for automatic generation of pointer indexes, for example).

Two techinques come to mind:

  1) <a name=job1234 my_values=ohio:drive-in:cook>

or

  2) <a name=job1234> <meta content=ohio:drive-in:cook>


(1) uses an undefined attribute on the grounds that browsers ignore such.

(2) uses a HEAD element in the BODY on the same grounds.

Neither are kosher.  What is the "right stuff"?

Cheers, Scott

Received on Monday, 6 November 1995 05:37:17 UTC