Pages

How to link to a location in different page


The previous post explain how to link to a location in the same page. In summary, it would be as follows:

The hyperlink HTML is written as

some text

where key is any text you would like to use as the key, and the location to which you want to link to is preceded by

>/a>

To link to a location in a different page, it will be almost exactly the same except the #key will now be preceded by the URL of the page to which you want to link to so it now become

URL#key">some text


For example, the URL of the previous post is http://goo.gl/bB0Iu (permalink shortened using Google URL shortener)

Thus, I write the hyperlink HTML as

http://goo.gl/bB0Iu#linksamepage">some text

As I have used as the key "#linksamepage".

No comments:

Post a Comment