Auxiliary HTML Functions


Webkit also provides several auxiliary functions to save you some of the details of writing HTML output in your CGI response function. You don't need these, but they can save you a little time and distraction.
wkhtml() - Inserts the <HTML> directive
wkhtmlend() - Inserts the </HTML> directive
wkbody() - Inserts the <BODY> directive
wkbodyend() - Inserts the </BODY> directive
wktitle (cTitle) - Inserts the <TITLE...> directive
wklink (cText, cURL) - Inserts a link to the URL indicated by <cURL> with text <cText>
wkline (cText) - Output a line with a <BR> directive at the end

Finally, if you are in a real hurry, you can generate HTML output with a minimum of programming effort with the following commands used in order:
BEGIN HTML OUTPUT [<cTitle>] - Start output with optional page title
WRITE HTML OUTPUT <xValue>, ... - Write a line of output, like QOUT()
END HTML OUTPUT - Finish output and send it back to the browser client

Next: Examples
Previous: Auxiliary System Functions
Webkit Index