Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 476 Bytes

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

File metadata and controls

16 lines (12 loc) · 476 Bytes
title category date topics
Highlight text with the mark element
Tip
2021-04-12 11:22:00 +7
HTML

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

Demo

:demo[]{title="Highlight text with the mark element" url="/demo/highlight-text-with-the-mark-element/index.html"}