Scroll to text fragment
Newly available since 2024-10-01
Text fragments are URL fragments on the form #:~:text=snippet
and link to a snippet of text within a page. The browser may scroll, highlight, or otherwise bring that text to the reader's attention.
Learning resources on MDN
No MDN documentation found. You can search for the feature on MDN. If you believe that MDN has no documentation about this feature, you can open an issue on MDN's GitHub repository.Browser support (view on caniuse.com)
- Chrome 80 Released on 2020-02-04
- Chrome Android 80 Released on 2020-02-04
- Edge 80 Released on 2020-02-07
- Firefox 131 Released on 2024-10-01
- Firefox for Android 131 Released on 2024-10-01
- Safari 16.1 Released on 2022-10-24
- Safari on iOS 16.1 Released on 2022-10-24
Specifications
View web-platform-tests results for this feature - View the feature source file - Edit the feature - Report an issue about this feature