<highlight>
Highlighted text with a background color, like a marker pen over a phrase.
Aliases
Reset to canonicalThis tag has more than one name. Every spelling is the same tag, so write whichever feels natural. Pick one and every example on this page uses it.
<p>
Your order ships <highlight style="text-gray-900">tomorrow before noon</highlight> by courier.
</p>
Attributes
| Name | What it does | Default |
|---|---|---|
color |
Highlight background color color |
yellow-300 |
Any tag also takes gestures: @on.tap, @on.longpress, @on.doubletap and @on.swipeleft (and right, up and down). @click runs on a tap too.