How to highlight text using HTML (please provide syntax) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to highlight text using HTML (please provide syntax)

I am an beginner,just 12 years old so dont mind my question Just needed for a competition

13th Aug 2018, 10:19 AM
Anubhav Kumar
Anubhav Kumar - avatar
1 Answer
+ 2
You can use: <mark>text</mark> This way the text will have a yellow background. Or else you can use CSS:(color: ... ; for text color and background-color: ... ; up an element to color the background). Tell me if you still need something.✌
13th Aug 2018, 10:29 AM
Ledio Deda
Ledio Deda - avatar