HTML Functions

Version Ref:  4.8 (not included in filePro Lite)

  5.0 (enhancements)

Syntax:

HTML id :Tag_Code Tag_Value :Attribute Value

"id"

can be used to create multiple HTML files.

"Tag_Code"

is a filePro code similar to a HTML "TAG".

"Tag_Value"

a value related to the Tag_Code.

"Attribute"

filePro code to identify HTML attributes.

"Value"

the attribute value.

Description:

Create HTML files using filePro HTML functions.

Example:

HTML "1" :CR "fp.htm" :TI "filePro Page" :BI "fpback.gif"

The above example creates a single html document "fp.htm" with a title of "filePro Page" with :BI attribute (background image) named "fpback.gif".

 

"1" - Create HTML id = "1" :CR - CReate a document "fp.htm"

:TI - TItle "filePro Page" :BI - Background Image "fpback.gif"

 

The filePro HTML functions are presented in table format to show related functions and attributes that can be used.

 

HTML

Function

TAG

Tag

Code

Tag Value

Attr

Value

# of

Values

 

Terms Description

 

HTML Function

The standard HTML function name

TAG

HTML TAG returned for the filePro Tag Code.

Tag Code

filePro code related to a HTML function.

Tag Value

"Literal" or filePro variable.

Attribute

filePro code to specify HTML attributes.

Value

HTML attribute value as a "Literal" or filePro variable.

# of Val

Number of values allowed per attribute.

 

Legend for # of val (values)

0 - No values allowed.

1 - Exactly one value.

? - Single value optional.

+ - Text, comma-delimited list of values.

* - Text, comma-delimited list of values optional.

Note: filePro uses "Tag Codes" for functions with no corresponding HTML <TAG> such as :CR (CReate file), :CL (CLose file).