Section Element - #section {}

Produces the HTML5 <section> element. Note, that the section element is not a generate container for anything, that's a <div> (which, in Nitrogen is represented by a #panel element). We strongly recommend reading the "About the Section HTML Element" link in the "See Also" section here.


   #section{ body=[
      #h1{text="Some heading"},
      "Here is some content for this section"


  • body (Nitrogen Elements) - The body of the section element.

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

See Also

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