Let's say you needed to link to the "Rainbow Badge" section on this page, it is not an element with an id set so that you can directly append a <page-url>#element_id and call it a day.

Recently browsers have also started supporting linking directly to any text of your choice on any given page. That concept is called "Text Fragments" (link to MDN docs).

The basic structure of your URL needs to be like below:

<your-page-url>#:~:text=<your-target-text-url-encoded>

So for my above example I would have to use a link that looks something like this:

https://nerdgirlthoughts.game.blog/2025/07/10/blaugust-2025-is-coming/#:~:text=Rainbow%20Diamond%20Award