HTML/Text Fragments: Difference between revisions

From Omnia
Jump to navigation Jump to search
(Created page with "== 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]")
 
(No difference)

Latest revision as of 18:59, 14 June 2025

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]