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

Method div

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

The div tag defines a division/section in a document. NOTE: Browsers usually place a line break before and after the div element. self.div() ... self._div()

(self, **args)

Source from the content-addressed store, hash-verified

1431 self._closeTag_noWhitespace('span')
1432
1433 def div(self, **args):
1434 """
1435 The div tag defines a division/section in a document.
1436 NOTE: Browsers usually place a line break before and after the div element.
1437
1438 <www href="http://www.w3schools.com/tags/tag_div.asp" target="external"/>
1439 self.div()
1440 ...
1441 self._div()
1442
1443 """
1444 self.write_tag_noWhitespace('div', True, args)
1445
1446 def _div(self, comment=None):
1447 self._closeTag_noWhitespace('div')

Callers 15

textBoxMethod · 0.95
build_htmlMethod · 0.80
build_htmlMethod · 0.80
build_htmlMethod · 0.80
build_htmlMethod · 0.80
build_htmlMethod · 0.80
build_htmlMethod · 0.80
build_htmlMethod · 0.80
build_htmlMethod · 0.80
build_htmlMethod · 0.80
build_htmlMethod · 0.80
build_htmlMethod · 0.80

Calls 1

Tested by

no test coverage detected