::highlight()

Read More at MDN DocsView Spec

Safe to Use

Experimental: This feature is experimental. Learn More

::highlight() is not safe to use.

It’s supported by 63% of global browsers.

Browsers

ChromeSep 2, 2022v105.0.0
23%89%
There are no users of Chrome running a supported version.
SafariUnsupported
Safari does not support this feature.
EdgeSep 1, 2022v105.0.0
5%99%
There are no users of Edge running a supported version.
FirefoxUnsupported
Firefox does not support this feature.

Version Breakdown

 
Agent
Support
Adoption
Chrome
Sep 2, 2022 v105.0.0
23%89%
There are no users of Chrome running a supported version.
Sep 2, 2022 – Latest
v105.0.0+
23%89%

Full Support

Chrome Android
Sep 2, 2022 v105.0.0
34%93%
There are no users of Chrome Android running a supported version.
Sep 2, 2022 – Latest
v105.0.0+
34%93%

Full Support

Edge
Sep 1, 2022 v105.0.0
5%99%
There are no users of Edge running a supported version.
Sep 1, 2022 – Latest
v105.0.0+
5%99%

Full Support

Firefox
Unsupported
Firefox does not support this feature.
Unknown
vpreview+

Partial Support

Cannot yet be used with text-decoration and text-shadow. See bug 1703961.

Firefox for Android
Unsupported
Firefox for Android does not support this feature.

No Support

Internet Explorer
Unsupported
Internet Explorer does not support this feature.

No Support

 
Quest Browser
Unsupported
Quest Browser does not support this feature.

No Support

Opera
Sep 14, 2022 v91.0.0
0%5%
There are no users of Opera running a supported version.
Sep 14, 2022 – Latest
v91.0.0+
0%5%

Full Support

Opera Android
Oct 21, 2022 v72.0.0
Opera Android supports this feature.
Oct 21, 2022 – Latest
v72.0.0+

Full Support

Safari
Unsupported
Safari does not support this feature.

No Support

Safari on iOS
Unsupported
Safari on iOS does not support this feature.

No Support

Samsung Internet
Feb 10, 2023 v20.0.0
2%84%
There are no users of Samsung Internet running a supported version.
Feb 10, 2023 – Latest
v20.0.0+
2%84%

Full Support

WebView Android
Sep 2, 2022 v105.0.0
WebView Android supports this feature.
Sep 2, 2022 – Latest
v105.0.0+

Full Support

Contribute