RW_START_HTML_PAGE


Purpose

Defines the start of an HTML page/document. This consists of an opening <HTML> tag, a complete HEADER section containing a title, URLs for page background and stylesheet, and a meta tag. If it is a normal page, the subroutine inserts an opening <BODY> tag. If you set the Control parameter to indicate that this is a frameset page, no body section is inserted. A frameset page can contain one or more framesets, see RW_START_FRAMESET.

Syntax

RW_START_HTML_PAGE(Title, Background, Stylesheet, Meta, Control)

Parameters

Title The title of the page.

Background The URLClosed Uniform Resource Locator - a web address.  of an image to be used as the background of the page.

Stylesheet The URL of the stylesheet to be applied to the page.

Meta Generates a meta tag in the header.

If Meta is a null string, a META tag is generated containing:

<META NAME="Generator" CONTENT="Reality">

otherwise generates:

<META Meta>

If specified, Meta should normally be a string containing a name/value pair in the format:

NAME="Name" CONTENT="Value"

Refer to a book on HTML for more details.

Control One of the following values:

RWD_BODY or an empty string
Defines the page as a normal page and opens a body section by inserting <BODY> tag.

RWD_FRAMESET
Defines the page as a frameset with no body section (no <BODY> tag is inserted).

Dependencies

Whether this is a normal page or a frameset page, requires that a call is made to RW_END_PAGE at the end of the HTML document.