wwResponse::HTMLHeader
This method provides a high level HTML header generation routine. By default it creates the following:
-
* HTTP Header
* section with a
o.HTMLHeader(tcHeader,tcTitle,tcBackground,tcContentType,tlNoOutput)
Returns
"" or string if tlNoOutput = .T.
Parameters
tcHeader
The header of the document. This is the large text HTML generated at the top of the HTML document. Not generated if this value is passed in as blank or omitted.
tcTitle
- Optional* - The text for browser's title bar. If not passed the header is used.
tcBackground
- Optional* - Allows you to specify a background color or image.
tvContentType
Optional - By default this method uses a default HTTP header. You can pass in a custom HTTP header option (see ContentTypeHeader()) or an wwHTTPHeader object.
tlNoOutput
When set to .T. output is not sent to file, instead returning the result as a string.
Example
Response.HTMLHeader("Customer Demo Example","West Wind Customer Demo")
Response.Write("Hello World")
Response.HTMLFooter()