The `h1` to `h6` tags define headers. h1 defines the largest header. h6 defines the smallest header.:: self.h5(cssClass='caption') ... self._h5() >>> b = HtmlB
(self, **args)
| 912 | self._h4() |
| 913 | |
| 914 | def h5(self, **args): |
| 915 | """The `h1` to `h6` tags define headers. h1 defines the largest header. h6 |
| 916 | defines the smallest header.:: |
| 917 | |
| 918 | <www href="http://www.w3schools.com/tags/tag_hn.asp" target="external"/> |
| 919 | |
| 920 | self.h5(cssClass='caption') |
| 921 | ... |
| 922 | self._h5() |
| 923 | |
| 924 | >>> b = HtmlBuilder() |
| 925 | >>> b.compact = True |
| 926 | >>> b.h5() |
| 927 | >>> b.addHtml('Hello world') |
| 928 | >>> b._h5() |
| 929 | >>> b.getHtml() |
| 930 | '<h5>Hello world</h5>' |
| 931 | """ |
| 932 | self.write_tag_noWhitespace('h5', True, args) |
| 933 | |
| 934 | def _h5(self): |
| 935 | self._closeTag_noWhitespace('h5') |
no test coverage detected