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)

The best SD cards for Switch are worth keeping an eye on, even now that the Nintendo Switch 2 has arrived.If you're still playing on the Nintendo Switch, Switch Lite, or Switch OLED, then you'll likely need to get your hands on a compatible SD card i

A new update for The Last of Us Part 2 lets you play the game's story in chronological orderNaughty Dog says Chronogical mode will allow players to "will gain even deeper insight into Part 2’s narrative"New trophies and Uncharted 4-themed s

Apple is working on a more affordable version of the MacBook that's powered by an A-series iPhone chip rather than an M-series Apple silicon chip. We've rounded up all of the rumors about the new machine, which is expected next year.DesignThe upcomin

Nintendo Switch 2 users are reporting overheating issues in handheld and docked modesIt comes amid Nintendo's recent controversies surrounding its new Switch 2 deviceIt reportedly occurs even when playing less demanding gamesIt's no secret that Ninte

Apple is working on a set of smart glasses that will rival Meta's popular AI-equipped Ray-Bans, offering many of the same features. Rumors about Apple's work on the glasses have been picking up, and we've gathered all of the information we've heard i

The best Xbox Series X and Series S accessories can make for game-changing additions to your setup, especially if you've recently picked up either of Microsoft's current-generation consoles and you're looking to get the most out of them. From interna

The Messages app has the Liquid Glass redesign that's been introduced throughout iOS 26, but Apple also added several long-desired features that make for a better experience in both one-to-one and group chats, such as custom backgrounds and group typ

The best gaming console space has just been shaken up by the arrival of the Nintendo Switch 2, which has now usurped the older Nintendo Switch OLED as my pick for the number one handheld option right now. I've been testing it for weeks, and can say t
