AI answers link to the exact sentence. Your site can too A Web Dev Weekly post published November 28, 2026 shows developers how to add a "Copy link to selection" button that turns highlighted text into a URL using the browser's text fragment syntax, such as `#:~:text=only%20the%20first%20request`, so readers can share a link that scrolls to and highlights an exact sentence. The post's JavaScript snippet encodes selections with `encodeURIComponent`, replaces hyphens with `%2D`, and shortens long passages to a start/end pair of four words each, while a `mousedown` handler prevents the click from clearing the reader's selection before it is read. The technique matters because AI answers and search engines already link to specific sentences, and the post notes every major browser supports text fragments even though few readers know Chrome's and Edge's built-in "Copy link to highlight" option exists. AI answers link to the exact sentence. Your site can too AI answers link straight to the sentence they quote. Your browser can make these links too. Add one button so your readers can share them. Web Dev Weekly November 28, 2026 AI answers link to the exact sentence. Your site can too AI answers link straight to the sentence they quote. Your browser can make these links too. Add one button so your readers can share them. Built something and want to sell it? CREEM costs nothing to start: no monthly fees, no setup fees, and you only pay when you earn. It also handles sales tax and VAT in 190+ countries, so you don't have to. Someone wants to send a colleague one sentence from your 3,000 word article. They copy the URL, paste it, and add “it’s somewhere in the middle, search for ‘cache'”. The colleague opens the page at the top and gives up. Search engines and AI answers already solved this. Their source links often end in something like :~:text=only%20the%20first%20request , and the browser opens the page, scrolls to that sentence and highlights it. This is called a text fragment, and every major browser supports it. Your browser can even make these links for you. In Chrome or Edge, select any text, right-click and pick “Copy link to highlight”. Almost nobody knows it’s there, so your readers will never find it. Put a visible button next to your content instead. The fix Add a button to your article template: