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 :: bootstrap 5 jumbotron 
Html :: html prevent newline 
Html :: html image onclick 
Html :: get image from google drive 
Html :: bootstrap vertical hr 
Html :: how to collect input textbox in html 
Html :: input number html without e 
Html :: dropdown content left 
Html :: a tag to open in new tab 
Html :: link open in new tab html 
Html :: Drupal twig get value of entity reference field 
Html :: placeholder textbox wpf 
Html :: fa icon person 
Html :: add subject to mailto 
Html :: is html easy? 
Html :: colspan 1.5 
Html :: video slider html 
Html :: html textarea rows 
Html :: onclick show div and hide other div 
Html :: dropdown calendar html 
Html :: html date placeholder 
Html :: html pallete 
Html :: create a link in md 
Html :: html element hover helptext 
Html :: phone input html 
Html :: html headings 
Html :: html <br tag 
Html :: how to convert html to text in angular 
Html :: insert html in html 
Html :: html video multiple elements 
ADD CONTENT
Topic
Content
Source link
Name
2+4 =