The HTML mark tag allows you to highlight text. By default, the text will be highlighted with a yellow background.
The below code provides an example:
Its properties, such as the highlighting color, can be changed using CSS.
Relevant Answers
Explore Courses
Learn in-demand tech skills in half the time
Mock Interview
Courses
Skill Paths
Projects
Assessments
Learn to Code
Tech Interview Prep
Generative AI
Data Science
Machine Learning
GitHub Students Scholarship
Early Access Courses
Blind 75
For Individuals
Try for Free
Gift a Subscription
Become an Author
Become an Affiliate
Earn Referral Credits
Blog
Cheatsheets
Webinars
Answers
Our Team
Careers
Frequently Asked Questions
Contact Us
Press
Privacy Policy
Cookie Policy
Terms of Service
Business Terms of Service
Data Processing Agreement
Grokking the Modern System Design Interview
Grokking the Product Architecture Design Interview
Grokking the Coding Interview Patterns
Machine Learning System Design
Copyright ©2024 Educative, Inc. All rights reserved.