: The MARK Element
Last updated: 2026-09-12
<mark>The MARK Element
Highlights text with a default yellow background, like a highlighter pen; often used for keywords in search results.
| Category | Formatting |
|---|---|
| Content Model | Phrasing content |
| Allowed Parents | Any element that accepts phrasing content |
| Content Tag | Yes — requires closing </mark> tag |
| Status | Standard |
📝 Syntax
<mark>marked text</mark>
▶ Example
Edit the code below and see the live result in the playground:
🌐 Browser Support
| Browser | |||||
|---|---|---|---|---|---|
| <mark> | ✓ v1 | ✓ v12 | ✓ v1 | ✓ v1 | ✓ v1 |
| Supported in all major browsers | |||||
Tip: <mark> means text relevant in the current context, not just a background change; customize the color via CSS.