The Web, for example, indicates a link anchor by adding some special text inside the page:
Eastgate This is an internal link, and it has one cardinal advantage: if we need to edit the text inside the link, we can insert or delete characters as we wish without invalidating the link.59