HTML/Text Fragments

From Omnia
Jump to navigation Jump to search

Text Fragments

Text fragments - URIs | MDN
https://developer.mozilla.org/en-US/docs/Web/URI/Reference/Fragment/Text_fragments

Syntax

In a similar manner to document fragments, text fragments are appended onto a URL after a hash symbol (#). The syntax however is a bit different:

https://example.com#:~:text=[prefix-,]textStart[,textEnd][,-suffix]