<mark>
The <mark> element represents text which is marked or highlighted for reference or notation purposes.
Overview
The <mark> element represents text which is marked or highlighted for reference or notation purposes.
Browser support
| Feature | Desktop | Mobile | ||||
|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Safari | Chrome Android | Safari iOS | |
| 7 | 12 | 4 | 5.1 | 18 | 5 | |
1+Supported (version) Not supported ※Has note Sub-feature descriptions sourced from MDN Web Docs (CC BY-SA 2.5)
Syntax
HTML
<p>Search results: This text contains the keyword "<mark>HTML</mark>".</p> Live demo
Use cases
Using <mark>
The <mark> element represents text which is marked or highlighted for reference or notation purposes.
Cautions
- May not be supported in older browsers.
Accessibility
- Verify how this element is announced by screen readers.
Related links
Powered by web-features