Trusted answers to developer questions

What is the HTML mark Tag?

Get Started With Data Science

Learn the fundamentals of Data Science with this free course. Future-proof your career by adding Data Science skills to your toolkit — or prepare to land a job in AI, Machine Learning, or Data Analysis.

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.

RELATED TAGS

html
mark
tag
highlight

CONTRIBUTOR

Aaron Xie
Copyright ©2024 Educative, Inc. All rights reserved
Did you find this helpful?