HTML <mark> tag
HTML <mark> tag : Definition
• The <mark> tag is used for marking or highlighting some text/words from an articles or passages as per your own special interest or relevance in an HTML document.
• You can assume it to be like using a highlighter pen in a book to mark some of the words or passages that you want to be highlighted for getting others attention instantly or for yourself.
Html <mark> tag example
<!DOCTYPE html> <html> <body> <p class="paragraph">This is a paragraph with no mark tag.</p> <p class="paragraph"><mark>This is an another paragraph with mark tag.</mark></p> </body> </html>
Output :
This is a paragraph with no mark tag.
This is an another paragraph with mark tag.