RAD Studio
ContentsIndex
PreviousUpNext
Using Predefined HTML-transparent Tag Names

While you can create your own HTML-transparent tags to represent any kind of information processed by your page producer, there are several predefined tag names associated with values of the TTag data type. These predefined tag names correspond to HTML commands that are likely to vary over response messages. They are listed in the following table:

Tag Name 
TTag value 
What the tag should be converted to 
Link  
tgLink  
A hypertext link. The result is an HTML sequence beginning with an <A> tag and ending with an </A> tag.  
Image  
tgImage  
A graphic image. The result is an HTML <IMG> tag.  
Table  
tgTable  
An HTML table. The result is an HTML sequence beginning with a <TABLE> tag and ending with a </TABLE> tag.  
ImageMap  
tgImageMap  
A graphic image with associated hot zones. The result is an HTML sequence beginning with a <MAP> tag and ending with a </MAP> tag.  
Object  
tgObject  
An embedded ActiveX object. The result is an HTML sequence beginning with an <OBJECT> tag and ending with an </OBJECT> tag.  
Embed  
tgEmbed  
A Netscape-compliant add-in DLL. The result is an HTML sequence beginning with an <EMBED> tag and ending with an </EMBED> tag.  

Any other tag name is associated with tgCustom. The page producer supplies no built-in processing of the predefined tag names. They are simply provided to help applications organize the conversion process into many of the more common tasks.

Note: The predefined tag names are case insensitive.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!