The `h1_` to `h6_` tags define headers, combining the opening and closing tag where the s attribute is the block content. >>> b = HtmlBuilder() >>> b.compact = True >>> b.h6_('Hello world') >>> b.getHtml() ' Hello world '
(self, s, **args)
| 972 | self._closeTag_noWhitespace('h6') |
| 973 | |
| 974 | def h6_(self, s, **args): |
| 975 | """The `h1_` to `h6_` tags define headers, combining the opening and |
| 976 | closing tag where the s attribute is the block content. |
| 977 | |
| 978 | >>> b = HtmlBuilder() |
| 979 | >>> b.compact = True |
| 980 | >>> b.h6_('Hello world') |
| 981 | >>> b.getHtml() |
| 982 | '<h6>Hello world</h6>' |
| 983 | """ |
| 984 | self.h6(**args) |
| 985 | self.addHtml(s) |
| 986 | self._h6() |
| 987 | |
| 988 | def figure(self, **args): |
| 989 | """The figure method (HTML5) is used for annotating illustrations, |