start_html(self,
title='
' ,
headers=None,
head_section=None,
body_attributes='
' ,
mode=None,
mimetype=None,
duplicate_title=False,
cache=False)
| source code
|
Starts writing a HTML response (header + common body start).
- Parameters:
title (string) - Title of the HTML document (default : "")
headers (a list of tuples (keyword, value)) - additional headers to add
head_section (string) - additional HTML code to add in the <head></head>
section
body_attributes (string) - attributes added to the body tag
mode (string) - presentation mode (navigation, raw). Default: navigation
duplicate_title (boolean) - duplicate title as HTML header (h1)
cache (boolean) - make the document cacheable. Default: False
- Returns:
- nothing
|