Sometimes when you share a webpage link with someone, you just want to bring their attention to a specific passage or sentence to make your point, rather than have them read through the entire article.
In 2020, Google added a function to its Chrome browser called Scroll to Text Fragment (STTF) that helps you achieve this. It allows URLs to link directly to any visible text on a page. You may have seen it work in Google Search, where clicking on a link in your returned results takes you to a highlighted passage of text further down the page.
Since then, Google has built the feature into the open source Chromium code, so most other popular Chromium browsers like Edge, Opera, and Vivaldi also have it these days. (Brave is an exception, citing some privacy risks of STTF.)
Copy Link With Highlight in Safari
Late last year, Apple joined the club, and brought full support to Safari 18.2. To use the feature, visit a web page and simply highlight the text you want to create a link to, then right-click and choose Copy Link with Highlight from the dropdown menu.
This will generate a special URL that includes a hash (#) symbol and "text" element, followed by a few words that bookend the selected text. All you need to do is share the link with someone, and when they click it they'll be sent directly to that part of the webpage with the specific passage highlighted, as shown below.
That's all there is to it. The Copy Link to Highlight option is also available in Safari on the iPhone and iPad, and indeed in any browser that uses WebKit on iOS and iPadOS. Hopefully that makes it easier for you to direct the recipient of the link to the content you actually want them to focus on.
Bear in mind that the look of highlighted text can differ depending on whether the page author has styled it to look a certain way. Also, text fragment linking does not work in PDFs. Firefox users: You'll need to install Thomas Steiner's Link to Text Fragment extension, which will add a Copy Link to Selected Text option to the contextual menu.
The above is the detailed content of Send Web Links That Jump to the Exact Text You Mean. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

One Pokémon player has lost over 1,000 hours of Pokémon Scarlet gameplay and 20 years of progress after transferring their data to the Nintendo Switch 2Redditor ThatOtaku26, and other users, have said their save files for the game are gone

The Nintendo Switch 2 has finally arrived, and along with it, so have a handful of launch games. Some old, some new, and some, well, they land somewhere between those two categories.Meet Survival Kids, a cooperative platformer, built on the bones of

Apple has made the first macOS Tahoe developer beta available for testing before its official release in the fall, but don't be fooled into thinking only developers can download it. Keep reading to learn whether you should install it on your Mac, and

Look, I get it: there’s not much else more special in the gaming or tech world than the smell of a new console freshly unboxed.Add in that the new console of the moment is the Nintendo Switch 2, and with it all the promise of new exclusive games an

In iOS 17 and later, Apple includes an accessibility setting that makes the haptic feedback feature activate faster than in previous versions of its mobile operating system. If you fondly hearken back for the days of 3D Touch, you might just prefer i

I’ve been playing the Nintendo Switch 2 almost non-stop since it was released just over a week ago. My enjoyment of Mario Kart World has mutated into something of an addiction; I can’t get enough of the new Knockout mode, collecting new costu

After years of there being few alternatives to the Apple-approved LG UltraFine 5K and later the Apple Studio Display in the 27-inch 5K display market, a number of new entrants have recently appeared to offer more options for consumers. ViewSonic 2788

Nintendo Switch 2: two-minute reviewAfter what felt like an eternity of waiting after all the leaks and eventual official announcement back in January 2025, the Nintendo Switch 2 is finally here. To say the console’s had a rough start is an underst
