The sub tag implements the standard XTHML tag for inferior (subscript) text. self.text('Normal text') self.sub() self.text('and inferior') self._sub() Normal text and inferior
(self, **args)
| 1269 | self._closeTag_noWhitespace('sup') |
| 1270 | |
| 1271 | def sub(self, **args): |
| 1272 | """ |
| 1273 | The sub tag implements the standard XTHML tag for inferior (subscript) text. |
| 1274 | self.text('Normal text') |
| 1275 | self.sub() |
| 1276 | self.text('and inferior') |
| 1277 | self._sub() |
| 1278 | Normal text <sub>and inferior</sub> |
| 1279 | """ |
| 1280 | self.write_tag_noWhitespace('sub', True, args) |
| 1281 | def _sub(self): |
| 1282 | self._closeTag_noWhitespace('sub') |
| 1283 |
no test coverage detected