Chrome: Link to arbitrary text on page

#chrome#url

aryan02420

Today I learned that you can link to arbitrary text on a page in Chrome by using the #:~:text= URL fragment.

This page is not very long, but if you want to link to the paragraph above, you can use the following URL:

#:~:text=Today%20I%20learned,fragment

Click here to see it in action

Since this is only supported in Chrome, here's a demo gif:

link to arbitrary text on page demo

You can learn more about them here: