Search
 
SCRIPT & CODE EXAMPLE
 

HTML

html highlight text

For HTML5: (with 'mark' tag)

<p>Do not forget to buy <mark>milk</mark> today.</p> 

In CSS file: (To customize highlight)

mark {
  background-color: yellow;
  color: black;
}
Comment

how to highlight text in html

<mark>text</mark>
Comment

PREVIOUS NEXT
Code Example
Html :: how to make check boxes in html 
Html :: html form razor 
Html :: The <textarea Element 
Html :: bootsrap cards 
Html :: html compressor 
Html :: render html in react from string 
Html :: offline p5.js html 
Html :: html input only numbers 
Html :: html gallery 
Html :: what is the code element in html 
Html :: fieldset margin 
Html :: wp audio volume 
Html :: okaycms not working after installation 
Html :: text in imgae tag html 
Html :: href open in new tab 
Html :: limite file input to jpg 
Html :: how to make ngx-countdown wait for start 
Html :: ruby and rails html show date year 
Html :: html adding image 
Html :: html symbols 
Html :: html entity for $ 
Html :: what is attributes in html 
Html :: a tag in html 
Html :: add accordion in bootstrap 
Html :: detailed list html 
Html :: save html file in mysql 
Html :: html style tag type 
Html :: remove active class from all li javascript 
Html :: html title attribute 
Html :: convert figma to html 
ADD CONTENT
Topic
Content
Source link
Name
1+2 =