The `h1` to `h6` tags define headers. h1 defines the largest header. h6 defines the smallest header.:: self.h4(cssClass='subsubhead') ... self._h4() >>> b = Htm
(self, **args)
| 873 | self._h3() |
| 874 | |
| 875 | def h4(self, **args): |
| 876 | """The `h1` to `h6` tags define headers. h1 defines the largest header. h6 |
| 877 | defines the smallest header.:: |
| 878 | |
| 879 | <www href="http://www.w3schools.com/tags/tag_hn.asp" target="external"/> |
| 880 | |
| 881 | self.h4(cssClass='subsubhead') |
| 882 | ... |
| 883 | self._h4() |
| 884 | |
| 885 | >>> b = HtmlBuilder() |
| 886 | >>> b.compact = True |
| 887 | >>> b.h4() |
| 888 | >>> b.addHtml('Hello world') |
| 889 | >>> b._h4() |
| 890 | >>> b.getHtml() |
| 891 | '<h4>Hello world</h4>' |
| 892 | """ |
| 893 | self.write_tag_noWhitespace('h4', True, args) |
| 894 | |
| 895 | def _h4(self): |
| 896 | """Closing tag of h4.""" |
no test coverage detected