HTML_PARAGRAPH Procedure

Outputs an HTML paragraph.

Usage

    HTML_PARAGRAPH, text

Input Parameters

text—A scalar or string array containing the text of the paragraph. In the case of a string array, each element is interpreted as a separate paragraph.

Keywords

Center—Centers each line in the paragraph.

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

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

Safe—Handles HTML special characters (see HTML_SAFE).

Right—Right-justifies the paragraph.

Discussion

The HTML_PARAGRAPH procedure creates HTML paragraphs by inserting the elements <P> . . .</P> around the text. The created paragraph is left-justified unless otherwise specified using keywords.

Example

This example illustrates how to put a standard paragraph into HTML format in PV‑WAVE.

HTML_OPEN
HTML_PARAGRAPH, 'PV-WAVE provides an ' + $
   'array-oriented fourth-generation ' + $
   'language that is compact and ' + $
   'efficient. Its interactive structure ' + $
   'reduces coding by up to 80% and ' + $
   'eliminates compiling and linking. ' + $
   'It supports variables, collections ' + $
   'of variables and all the same ' + $
   'language constructs of FORTRAN and C.', /Justify
HTML_CLOSE

See Also

HTML_BLOCK, HTML_HEADING, HTML_HIGHLIGHT, HTML_LIST, HTML_OPEN, HTML_SAFE, HTML_TABLE