MCPcopy Create free account
hub / github.com/PageBot/PageBot / section

Method section

Lib/pagebot/contexts/htmlcontext/htmlbuilder.py:1077–1081  ·  view source on GitHub ↗

The section method (HTML5) defines defines sections in a document. Such as chapters, headers, footers, or any other sections of the document.

(self, **args)

Source from the content-addressed store, hash-verified

1075 self._closeTag('footer')
1076
1077 def section(self, **args):
1078 """The section method (HTML5) defines defines sections in a document.
1079 Such as chapters, headers, footers, or any other sections of the
1080 document."""
1081 self.write_tag('section', True, args)
1082
1083 def _section(self):
1084 self._closeTag('section')

Callers 3

build_htmlMethod · 0.80
build_htmlMethod · 0.80
build_htmlMethod · 0.80

Calls 1

write_tagMethod · 0.80

Tested by

no test coverage detected