HTML Mark Tag

HTML Mark Tag

HTML Mark Tag

  • Mark tag is used to highlight the text which increases the importance of text on the web page.

  • HTML Mark tag is defined by <mark>.

"By default, the background of the text become yellow."

  • We can also change the background color of the text like aqua, lime, silver etc. as per our desired design. For More HTML Background Color

Example:
<mark>This sentence is highlighted by mark tag.</mark>
Run Code »
Example Explanation:

In the above, we have shown an example of HTML Mark Tag.

  • <mark> Tag makes the background of the text yellow which shows it is highlighted, and it increases the importance of the text on the web page.

Run the code to see the effect.




HTML Mark Tag in Hindi

Best Use:360p or more (480p or 720p)
×

Course Menu