Search
 
SCRIPT & CODE EXAMPLE
 

HTML

change color of mark in css

<style>
  h1 mark {
    background-color: cyan (add any color you want);
  }
</style>
<h1>
  <mark>
    And Voila! Cyan highlights!
  </mark>
</h1>
Comment

css mark color

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

<mark>Highlighted text!!</mark>
Comment

PREVIOUS NEXT
Code Example
Html :: html strong 
Html :: how to make a youtube video on a website 
Html :: add delay to hrefs 
Html :: how to make a text box required in html 
Html :: html website ideas 
Html :: Tailwind CSS rating stars 
Html :: how to disable image dragging in html 
Html :: button email html 
Html :: html auto start video 
Html :: html pattern not working 
Html :: pink floyd hey you 
Html :: html image goes outside div 
Html :: did not expect server html to contain a div in div 
Html :: display html input datetime-local value from mysql 
Html :: how to make text emphasized in html 
Html :: svg with src in html 
Html :: favicon react render 
Html :: ion input form autocomplete 
Html :: button element in html 
Html :: comments in html 
Html :: bootstrap 5 border bottom 
Html :: input type for contact no 
Html :: vue transition v-if else 
Html :: select all text in textarea javascript 
Html :: Get Session content on cshtml 
Html :: bold text bootstrap 
Html :: bootstrap 5 list 
Html :: mailto like call 
Html :: java replace all html tags 
Html :: html shortcuts 
ADD CONTENT
Topic
Content
Source link
Name
3+3 =