The head element can contain information about the document. The browser does not display the "head information" to the user. The following tags can be in the head section: base, link, meta, script, style and title. <www href="http://www.w3schools.com/tags/tag_head.a
(self, **args)
| 663 | self._closeTag('html') |
| 664 | |
| 665 | def head(self, **args): |
| 666 | """The head element can contain information about the document. The |
| 667 | browser does not display the "head information" to the user. The |
| 668 | following tags can be in the head section: base, link, meta, script, |
| 669 | style and title. |
| 670 | |
| 671 | <www href="http://www.w3schools.com/tags/tag_head.asp" target="external"/> |
| 672 | |
| 673 | self.head() |
| 674 | ... |
| 675 | self._head() |
| 676 | |
| 677 | """ |
| 678 | self.tabs() |
| 679 | self.write('<head') |
| 680 | self.getandwrite_attributes('head', args) |
| 681 | self.write('>') |
| 682 | # Push as last, so we can see the current tag on the stack |
| 683 | self._pushTag('head') |
| 684 | |
| 685 | def _head(self): |
| 686 | self._closeTag('head') |
no test coverage detected