What tag would you use to highlight some text code example
Example 1: change highlight color html
::-moz-selection { /* Code for Firefox */
color: red;
background: yellow;
}
::selection {
color: red;
background: yellow;
}
Example 2: how to highlight text in css
<body>
<p>The Math test is on <mark>Friday</mark>.</p>
</body>