When I have a long page in SharePoint 2016, I like to add a summary table of contents at the top to enable visitors to quickly jump to the section they need. Unlike Confluence, there is no macro for doing this that I can find.
Once the page is populated with content, create the list at the top of the page that will become the contents. I usually limit it to the highest level headings.
Highlight the first planned link on the list, and from the Insert menu, click Link and select From Address.
The Text to display will contain the text you highlighted. In the Address field, start with a hash/pound character (#) followed by the name you want for the anchor. The anchor itself will be created next. Click OK. The highlighted text will become a hyperlink.
Next, highlight the heading or text that you want to anchor as the destination. From the Insert menu, click Link and select From Address again.
The Text to display will contain the text you highlighted. In the Address field, only insert the hash/pound character (#) and click OK.
With the text still highlighted, on the ribbon, add the anchor name without the hash/pound character that you created in step X in the Bookmark field of the Link Properties.
Save the page. You should now be able to click the link at the top and move directly to the anchor point.
What is your method or solution to link within a page?