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).


      <<"In this sentence, ">>,
      #mark { text="just this phrase" },
      " will be highlighted"


  • 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.

  • role (String) - The role of the HTML5 Mark element.

See Also

View Source or Submit Corrections for this Documentation Page
Copyright © 2008-2024 Nitrogen Web Framework. Released under the MIT License.