Answers for "highlight whole h1 in html"

1

css mark color

<style>
mark { 
  background-color: yellow;
  color: black;
}
</style>

<mark>Highlighted text!!</mark>
Posted by: Guest on March-23-2020
0

mark tag in html

mark {
  display: inline-block;
  line-height: 0em;
  padding-bottom: 0.5em;
}
Posted by: Guest on April-28-2020

Browse Popular Code Answers by Language