Answers for "html mark change color"

CSS
1

change color of mark tag in html

/*Apply to all mark tags*/
mark {
  background-color: blue; /*Add your desired color*/
}
/*Apply it to a class*/
.mark { 
  background-color: blue; /*Add your desired color*/
}
/*Apply it to an ID*/
#mark {
  background-color: blue; /*Add your desired color*/
}
Posted by: Guest on November-11-2021

Browse Popular Code Answers by Language