HTML_HEADING Procedure

Creates a heading with a level specification.

Usage

    HTML_HEADING, text

Input Parameters

text—The heading text.

Keywords

Center—Centers the heading.

Justify—Fully justifies the heading to the left and right.

Left—Left-justifies the heading. (Default: set)

Level—Defines the heading level. (Default: 1)

Right—Right-justifies the heading.

Safe—Handles HTML special characters.

Discussion

HTML allows six levels of headings, from 1 to 6. There is no forced hierarchy; in other words, you may use any heading at any time.

Example

This example creates a centered, level-2 heading.

HTML_OPEN
HTML_HEADING,$
   'This <H2> heading will be centered', /Center, /Safe, $
   Level = 2
HTML_CLOSE

See Also

HTML_BLOCK, HTML_HIGHLIGHT, HTML_LIST, HTML_OPEN, HTML_PARAGRAPH, HTML_RULE, HTML_SAFE, HTML_TABLE