Quote:
Originally Posted by mt.msla
Does anyone know of a "best practice" for adding footnotes? I'd appreciate any constructive instruction.
|
Just KISS (keep it simple, stupid).
Have 2 simple links:
- One <a> pointing to the footnote.
- One <a> pointing back to the footnote number.
Example code:
Code:
<p>This is some text with a note.<a href="#fn1" id="ft1">[1]</a></p>
[...]
<p class="footnote"><a href="#ft1" id="fn1">[1]</a> This is the footnote.</p>
The
red parts (fn) point back-and-forth to each other and say:
- "Hey! Go jump me to footnote 1!"
- Wherever id "fn1" exists.
The
blue parts (ft) point back-and-forth to each other and say:
- "Hey! Go jump me back to the number for footnote 1!"
- Wherever id "ft1" exists.
- - -
Side Note: In your searches, did you happen to see the thread back in:
You can visit that for many more details.
(I just did a search in Google and see it's the #1 hit too.

)