|
ION Script User's Guide: ION Script Tag Reference |
|
The ION_HEADER tag pair is used to declare information, called metadata, about an ION Script document. If included, the ION_HEADER section appears before the ION_BODY section.
In addition to the ION Script metadata tags listed below, HTML tags that are valid inside the HEAD element of an HTML page can also be included inside the ION_HEADER. For example, if you wish to include a script and style sheet in the HEAD element of the Web page, include the HTML <SCRIPT> and <STYLE> tags inside the ION_HEADER.
<ION_HEADER>
[<AUTHOR> author </AUTHOR>]
[<APPLICATION> application name </APPLICATION>]
[<COPYRIGHT>copyright</COPYRIGHT>]
[<DATE> date </DATE>]
[<LASTUPDATE>date</LASTUPDATE>]
[<TITLE> title </TITLE>]
[<EVENTS> EVENT_DECL tags </EVENTS>]
[<VARIABLES> VARIABLE_DECL tags </VARIABLES>]
[Any other HTML tags that are valid inside HEAD, such as <BASE>,
<LINK>, <META>, <SCRIPT>, and <STYLE>]
</ION_HEADER>
The following tags are used to provide information about an ION Script document. Search engines use this metadata to index your page according to its content. These tags are valid only inside the <ION_HEADER>...</ION_HEADER> block.
The name of the ION Script application to which this page belongs.
The document author of this page.
A copyright statement. By default, ION Script automatically inserts the © symbol before the value of this tag when you include $Document.COPYRIGHT (using ION_VARIABLE). If you do not want to use this symbol, you can change the default using the Format tab of the configuration utility.
The date the document was created.
The date the document was last updated.
The page title. Note that this is simply the HTML <TITLE> tag. Including a <TITLE> tag in your ION_HEADER block allows you to access the variable $Document.TITLE.
ION Script event and variable declarations are made in the header section, using the EVENTS and VARIABLES tags, respectively.
The ION_HEADER tag is converted to the HTML <HEAD> tag. All attributes of the HTML <HEAD> tag can be used in the opening <ION_HEADER> tag. Additionally, any HTML tags that can be nested inside the <HEAD>...</HEAD> block can be included inside the <ION_HEADER>...</ION_HEADER> block. The ION Script metadata tags are also converted to HTML, as illustrated in the following examples:
IDL Online Help (March 06, 2007)