Hosting Solutions
mobile_logo Table of Contents


The <mark> element is used to highlight content much the same way portions of text in a textbook are highlighted by the reader using a marker. It serves the same purpose as marking text in a real book with a highlight marker.

Code Example

<style> .pinkmark{ background:#ffdfe4; } </style> <p>Down in the outback we ate a <mark>Kangaroo</mark> tail.</p> <p>Down in the outback we ate a <mark class="pinkmark">Kangaroo</mark> tail.</p> open in code editor


globals - the global attributes common to all elements possible values: see global attribute list

Official Documentation



aabbraddressareaasidearticleaudiobbasebdobdiblockquotebodybrbuttoncanvascaptioncitecodecolcolgroupdatadatalistdddeldetailsdfndialogdivdldtemembedfieldsetfigcaptionfigurefooterformh1 h2 h3 h4 h5 h6headheaderhrhtmliiframeimginputinskbdkeygenlabellegendlilinkmainmapmarkmetameternavnoscriptobjectoloptgroupoptionoutputpparampreprogressqrb rp rt rtc rubyssampscriptsectionselectsmallsourcespanstrongstylesub supsummarytabletbodytdtemplatetextareatfootththeadtimetitletrtrackuulvarvideowbr