Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 537 Bytes

highlight-text-with-the-mark-element.mdx

File metadata and controls

22 lines (19 loc) · 537 Bytes
category created tags title
Tip
2021-04-12
HTML
Highlight text with the mark element

The semantic <mark> element provides the ability of highlighting text inside an element. Highlighting keywords in search results is a popular example of using the <mark> element.

Smooth <mark>scrolling</mark> with pure CSS
```html
Search results for scroll:
  • Smooth scrolling with pure CSS
  • Find scrollable elements
```