mark tag html code example
Example 1: css mark color
<style>
mark {
background-color: yellow;
color: black;
}
</style>
<mark>Highlighted text!!</mark>
Example 2: html mark
<!-- Highlight parts of a text: -->
<p>Do not forget to buy <mark>milk</mark> today.</p>
<!-- Default CSS: -->
<head><style>
mark {
background-color: yellow;
color: black;
}
</style></head>
Example 3: mark tag in html
mark {
display: inline-block;
line-height: 0em;
padding-bottom: 0.5em;
}