Documentation

Produces the HTML5 Nav element.

Usage

   #nav { class=main_navigation, body=[
      #link{text="Menu item 1", url="/item1"},
      #link{text="Menu item 2", url="/item2"},
      ...
   ]}.

Attributes

  • body (Nitrogen Element or Elements) - The body of the nav element.

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

See Also



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