Link to an anchor in different page using a HTML macro

Hi, I have tried to link to an anchor which is located in different page by using a HTML macro:

Story : 

Page A: there is an anchor called "bottom"

In Page B, I want to link to the bottom anchor located in Page A and open Page A in a new tab and thus i use below HTML macro:

<a href="Page A#bottom" target="_blank">Click to open Page A bottom in a new tab</a>



This html does NOT work now (it works before!). It does open the Page A in a new tab, but it has not direct to the bottom of Page A. 


Appreciate if anyone could provide me any feedback smile

2 answers

I have refer to the syntax mentioned in below Confluence User Guide:

0 vote
Stephen Deutsch Community Champion Dec 09, 2014

Hi Iria, did you try following the instructions at the bottom of the page?  When using an HTML macro, you don't have any access to the "magic" link-making methods in Confluence, so you have to use the following format: Page A#PageA-bottom"

Cool, I try it and it does work :) Thank you so much!

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Published yesterday in Confluence

Think you know shares vs. @mentions in Confluence? Take this collab quiz.

To anyone who doubts that Atlassians are a little too obsessed with collaboration, and tools related thereto, let me describe a recent discussion we had (which took place on our internal Confluence, ...

107 views 2 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you