Link to Any Text

By Brendan

If you want to have a URL that links to any text on a page, even if there is no anchor at that point, then check this page about Scroll to Text Fragment

Instead of linking to a regular anchor like #my_anchor, you add #:~:text=some%20text. So for example www.something.com/my/page.html#:~:text=any%20text%20on%20the%20page