What is the HTML mark Tag?

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.

New on Educative
Learn to Code
Learn any Language as a beginner
Develop a human edge in an AI powered world and learn to code with AI from our beginner friendly catalog
🏆 Leaderboard
Daily Coding Challenge
Solve a new coding challenge every day and climb the leaderboard

Free Resources

Copyright ©2025 Educative, Inc. All rights reserved