Quick Links webpart can be used as anchor in SharePoint Online page. Page Anchor are links to another section on the same page. E.g., Jump to section, Table of contents, etc., on long pages. You can create the page anchor by using any of the heading styles in the Text web part.
Follow the steps below to create the Quick Link Anchor links.
Step 1
Create a Page, add content, and format the Sub-headings with Heading styles, such as H1, H2, or H3. save and publish the page.
Step 2
Copy the link of the section as shown below.
Step 3
Open the SharePoint page in a new tab, edit the page, and add link to the Quick Link webpart.
Step 4
Click Add and Republish the page to see the result.
Step 5
Click on the Quick Link tab you can now be able to see the navigation to the page.
Note
On the published page, just mouse over the subheadings that are formatted with heading styles. You’ll find a link next to those subheadings, and just copy the link from the published page. (These links don’t appear on pages in edit mode!).
You can also use this Quick Link navigation from one page to another Page.