Skip to main content

<CSP:SECTION>

Redirect output to the specified section of a document.

Synopsis

<CSP:SECTION>...</CSP:SECTION>

Attributes

General Attributes

Attribute Description Value
BLOCK Relative position in section. Default is 0. Negative is beginning of section or positive is end of section. A numeric value.
NAME Name of section “prehtml”, “head”, “body”, or “posthtml”.

Description

The CSP:SECTION tag lets you control where content should be placed within the document served to the client.

Normally the contents of a CSP file are rendered to the client in the same order in which they originally appear. The CSP:SECTION tag lets you change this behavior. In the following example, the CSP:SECTION tag is used to write content to the HEAD section of the document:

<HTML>
<HEAD>
</HEAD>
<BODY>
...
<CSP:SECTION NAME="HEAD">
<!-- This comment will be in the HEAD section -->
</CSP:SECTION>
</BODY>
</HTML>
FeedbackOpens in a new tab