Web.HTTPProd.TTag

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TTag = (tgCustom, tgLink, tgImage, tgTable, tgImageMap, tgObject, tgEmbed);

C++

enum DECLSPEC_DENUM TTag : unsigned char { tgCustom, tgLink, tgImage, tgTable, tgImageMap, tgObject, tgEmbed };

Properties

Type Visibility Source Unit Parent
enum public
Web.HTTPProd.pas
Web.HTTPProd.hpp
Web.HTTPProd Web.HTTPProd

Description

TTag identifies the type of an HTML-transparent tag.

TTag indicates the type of an HTML-transparent tag in the HTML template. It can have one of the following values:



Value Meaning

tgLink

The tag is of the form <#LINK Dest=Value>, where the value of the Dest parameter describes a hypertext link. This tag type translates into a sequence of HTML commands beginning with an <A> tag and ending with an </A> tag.

tgImage

The tag is of the form <#IMAGE Ref=Value>, where the value of the Ref parameter is a reference to a graphic image. This tag type translates into an HTML <IMG> tag.

tgTable

The tag is of the form <#TABLE Param1=Value1 Param2=Value2 ... Paramn=Valuen>, where the parameters describe a desired tabular image. This tag type translates into a sequence of HTML commands beginning with a <TABLE> tag and ending with a </TABLE> tag.

tgImageMap

The tag is of the form <#IMAGEMAP Param1=Value1 Param2=Value2 ... Paramn=Valuen>, where the parameters describe a graphic image with associated hot zones. This tag type translates into a sequence of HTML commands beginning with a <MAP> tag and ending with a </MAP> tag.

tgObject

The tag is of the form <#OBJECT Control=Value>, where the Control parameter is a reference to an ActiveX control. This tag type translates into a sequence of HTML commands beginning with an <OBJECT> tag and ending with an </OBJECT> tag.

tgEmbed

The tag is of the form <#EMBED AddIn=Value>, where the AddIn parameter is a reference to a Netscape-compliant add-in DLL. This tag type translates into a sequence of HTML commands beginning with an <EMBED> tag and ending with an </EMBED> tag.

tgCustom

The tag is of the form <#TagName Param1=Value1 Param2=Value2 ... Paramn=Valuen>, where TagName and all the parameters are application-defined strings. There is no predefined correspondence between this tag type and specific HTML commands. They can be translated in an application-specific manner, based on the value of TagName.