Use mark HTML tag for highlighting text

Hi there. Suppose you want to highlight part of a text in a front-end app…

Hi there. Suppose you want to highlight part of a text in a front-end app. Use <mark> HTML tag. it is easy to use and very useful for like highlighting text in search functionality.

sample

ref: MDN-docs, link