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[]{title="Highlight text with the mark element" url="/demo/highlight-text-with-the-mark-element/index.html"}