How to give a yellow background to a text without using CSS

You can use the mark element to surround the target text.

Here's an example:

<mark>
  test
</mark>

The effect preview:

test

Posted on 2023-04-15