The link tag defines the relationship between two linked documents. self.head() ... self.link(href='/_images/favicon.ico', rel='shortcut icon') ... self._head()
(self, **args)
| 726 | self.write('<title>%s</title>' % s.strip()) |
| 727 | |
| 728 | def link(self, **args): |
| 729 | """The link tag defines the relationship between two linked documents. |
| 730 | |
| 731 | <www href="http://www.w3schools.com/tags/tag_link.asp" target="external"/> |
| 732 | |
| 733 | self.head() |
| 734 | ... |
| 735 | self.link(href='/_images/favicon.ico', rel='shortcut icon') |
| 736 | ... |
| 737 | self._head() |
| 738 | |
| 739 | """ |
| 740 | self.write_tag('link', False, args) |
| 741 | self.newLine() # Optional newline is self.compact is False. |
| 742 | |
| 743 | |
| 744 | def body(self, **args): |
no test coverage detected