Best to keep the code very simple.
This would go in your text:
Code:
<p>This is an example sentence.<a href="#fn1" id="ft1">[1]</a></p>
And this would go at the bottom of your file:
Code:
<p><a href="#ft1" id="fn1">[1]</a> This is a footnote.</p>
Quote:
Originally Posted by Notjohn
I also get rid of the superscript, instead enclosing the number in square brackets for visibility.
|

Using brackets instead of superscript is a good recommendation. It also makes it much easier to click, and it is better for Accessibility reasons (poor eyesight).