Places a level 2 header on the active HTML page. :param headText: header text :type headText: str :param label: ID of a labelt to be assigned to this header. :type label: str :return: HTML string of this header :rtype: str
(headText, label='')
| 228 | return |
| 229 | |
| 230 | def head2html(headText, label=''): |
| 231 | """ |
| 232 | Places a level 2 header on the active HTML page. |
| 233 | |
| 234 | :param headText: header text |
| 235 | :type headText: str |
| 236 | |
| 237 | :param label: ID of a labelt to be assigned to this header. |
| 238 | :type label: str |
| 239 | |
| 240 | :return: HTML string of this header |
| 241 | :rtype: str |
| 242 | |
| 243 | """ |
| 244 | label = _addLabel(label, labelType="heading") |
| 245 | html = '<h2>' + label + headText + '</h2>\n' |
| 246 | html = _insertHTML(ini.html_path + ini.html_page, html) |
| 247 | return html |
| 248 | |
| 249 | def head3html(headText, label=''): |
| 250 | """ |
no test coverage detected