Mark Element
Home | Getting Started | API | Elements | Actions | Validators | Handlers | Configuration Options | Plugins | Mobile | Troubleshooting | About
Table of Contents
1 Mark Element - #mark {}
The mark element produces an HTML mark element. The HTML5 mark tag is used for highlighting words or prases (such as highlighting search phrases).
Usage
#panel{body=[ <<"In this sentence, ">>, #mark { text="just this phrase" }, " will be highlighted" ]}.
Attributes
- text - (string)
- The text to display.
- html_encode - (boolean)
- Set to true to safely html-encode the displayed text.
- body - (Nitrogen element or list of elements.)
- Set the element or elements that will be rendered within this panel.