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

Method body

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

The body element defines the documents' body. It contains all the contents of the document (like text, images, colors, graphics, etc.). self.body(onload='javascript:loadpage()') ... se

(self, **args)

Source from the content-addressed store, hash-verified

742
743
744 def body(self, **args):
745 """The body element defines the documents' body. It contains all the
746 contents of the document (like text, images, colors, graphics, etc.).
747
748 <www href="http://www.w3schools.com/tags/tag_body.asp" target="external"/>
749 self.body(onload='javascript:loadpage()')
750 ...
751 self._body()
752
753 """
754 self.write_tag('body', True, args)
755
756 def _body(self):
757 self._closeTag('body')

Callers 1

write_bodyMethod · 0.80

Calls 1

write_tagMethod · 0.80

Tested by

no test coverage detected