According to this answer, the anchor is no longer available for confluence cloud.
@Sharon Helms"They have been removed with no plans to bring back. The open request to bring them back has been closed. The replacement suggested is linkable headings as described in this article. Here is the Confluence Roadmap for additional details.)"
Hey community! This month we’re excited to share brand new features to help you make your mark on Confluence. If you haven’t already, check out our updates from October and September too! Expre...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events