Jump to content

how create references like on wikipedia pages without using .js?


Recommended Posts

* i have added reference_

<abbr title="InterPlanetary File System">IPFS</abbr><sup><a href="https://wikipedia.org/wiki/IPFS" title="IPFS on wikipedia">1</a></sup>

* the above link does not appear
on bottom of webpage
* how should i make it to appear on
bottom of page under references heading?
* if its not possible without .js,
what are my other choices?

 

Link to comment
Share on other sites

The content at the bottom of the page has to be manually put there by you, then you can have links that point to it using the #hash part of the URL

In your page content your code should look like this:

<abbr title="InterPlanetary File System">IPFS</abbr><sup><a href="#reference-1">1</a></sup>

Then you have to add this to the references section of your page. The id attribute has to match the href of the link above.

<h2>References</h2>
<ol>
  <li id="reference-1"><a href="https://wikipedia.org/wiki/IPFS">IPFS on wikipedia</a></li>
</ol>

 

  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...