2

I have to create couple of links to the bookmarks of a page, But the problem is it the links are in different page. How do i create a link pointing to a specific part of a page from another page?

I created the link with and added a bookmark like the one shown below

https://he.sharepoint.com/sites/SiteOffices/SitePages/test.aspx#test

but it always goes to the page not to the specific location

1 Answer 1

1

This is not specific to SharePoint, but general HTML, regardless of the product that generates it.

The anchor setup may differ from IE to Chrome or Firefox, especially with older versions of IE. In general, try to use both the ID and the Name tags in the anchor, to serve all browser types.

On the page with the link use:

<a href="/path/library/page.aspx#anchor">link text</a> 

On the page with the bookmark create this:

<a name="anchor" id="anchor">paragraph</a>
3
  • i did the same as advised <a href="/sites/SiteOffices/SitePages/test.aspx#anchor">link text</a> and for the page with bookmark ;<a name="anchor" id="anchor"> KEO INTERNATIONAL CONSULTANTS</a></h4> with no luck though, it goes to the top of the page.
    – Rinu
    Aug 24, 2016 at 6:10
  • What browser and version are you using?
    – teylyn
    Aug 24, 2016 at 7:12
  • it started working after the restart of the browser.
    – Rinu
    Aug 24, 2016 at 7:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.