Scroll to text fragment
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.
Status
Baseline Newly Available (since 2024-10-01)
This feature is expected to reach Baseline Widely Available status on: 2027-04-01
MDN documentation
Specifications
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
Usage (according to Chrome Platform Status)
~0.077% of page loads. More data at chromestatus.com.
Web Platform Tests (WPT)
View the latest WPT test results for this featureView as JSON | Edit this feature | Report an issue | Web-features entry: source, dist