The web-site is now in readonly mode. Login and registration are disabled. (28 June 2019)

Example of HTML anchors

Cloud created by:

Nick Freear
12 November 2013

Creating "anchors"


    <p id="my-id-anchor"> ... 


    <a name="my-name-anchor" ... 

Extra content

Referencing anchors

If you're linking to either of these from a different page put - remember the "http://",

    <a href="">Different page</a>

And, if you’re link to it from the same page put,

    <a href="#my-name-anchor">Same page</a>

Nick Freear
09:44 on 12 November 2013 (Edited 09:46 on 12 November 2013)

Embedded Content


Contribute to the discussion

Please log in to post a comment. Register here if you haven't signed up yet.