Link to a specific text

← Back home

On the web, you can link people to specific parts of pages using the text contained in them, and it's actually pretty simple! Here's the doc about it.

You can link to a very specific text like so:

#:~:text=very specific text

Or if you want to highlight a whole paragraph, you can add a end string and the browser will highlight everything between the start and end strings.

#:~:text=very specific text,the start and end strings

You can also highlight multiple things on a page like so:

#:~:text=very specific text&text=multiple things

↑ Back to top