Defines a style in a document. The style element goes in the head section. If you want to include a style sheet in your page, you should define the style sheet externally, and link to it using XHTML link. <www href="http://www.w3schools.com/tags/tag_style.asp" target="extern
(self, styleType='text/css', **args)
| 1408 | self._closeTag_noWhitespace('th') |
| 1409 | |
| 1410 | def style(self, styleType='text/css', **args): |
| 1411 | """Defines a style in a document. The style element goes in the head |
| 1412 | section. If you want to include a style sheet in your page, you should |
| 1413 | define the style sheet externally, and link to it using XHTML link. |
| 1414 | |
| 1415 | <www href="http://www.w3schools.com/tags/tag_style.asp" target="external"/> |
| 1416 | |
| 1417 | self.style() |
| 1418 | ... |
| 1419 | self._style() |
| 1420 | |
| 1421 | """ |
| 1422 | self.write_tag('style', True, args) |
| 1423 | |
| 1424 | def _style(self): |
| 1425 | self._closeTag('style') |