Answers for "define marked text html"

CSS
5

change highlight color html

::-moz-selection { /* Code for Firefox */
  color: red;
  background: yellow;
}

::selection {
  color: red;
  background: yellow;
}
Posted by: Guest on August-04-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