The ColdFusion Markup Language (CFML) consists of a set of tags you use in your ColdFusion pages to interact with data sources, manipulate data, and display output. Using CFML tags is very simple; tag syntax is much like HTML element syntax.
The following table provides brief descriptions of each CFML tag.
CFML Tag Summary | |
|---|---|
CFML Tag | Description |
| CFABORT | Stops processing of a ColdFusion page at the tag location. |
| CFAPPLET | Embeds Java applets in a CFFORM. |
| CFAPPLICATION | Defines application name, activates client variables. |
| CFASSOCIATE | Enables sub-tag data to be saved with the base tag. |
| CFAUTHENTICATE | Authenticates a user and sets the security context for an application. |
| CFBREAK | Breaks out of a CFML looping construct. |
| CFCACHE | Caches ColdFusion pages. |
| CFCOL | Defines table column header, width, alignment, and text. |
| CFCOLLECTION | Creates and administers Verity collections. |
| CFCONTENT | Defines the content type and, optionally, the filename of a file to be downloaded by the current page. |
| CFCOOKIE | Defines and sets cookie variables. |
| CFDIRECTORY | Performs typical directory-handling tasks from within your ColdFusion application. |
| CFERROR | Displays customized HTML error pages when errors occur. |
| CFEXECUTE | Executes any developer-specified process on the server machine. |
| CFEXIT | Aborts processing of currently executing CFML custom tag. |
| CFFILE | Performs typical file-handling tasks from within your ColdFusion application. |
| CFFORM | Builds an input form and performs client-side input validation. |
| CFFTP | Permits FTP file operations. |
| CFGRID | Used in CFFORM to create a grid control for tabular data. |
| CFGRIDCOLUMN | Used in CFFORM to define the columns used in a CFGRID. |
| CFGRIDROW | Used with CFGRID to define a grid row. |
| CFGRIDUPDATE | Performs updates directly to ODBC data source from edited grid data. |
| CFHEADER | Generates HTTP headers. |
| CFHTMLHEAD | Writes text, including HTML, to the HEAD section of a specified page. |
| CFHTTP | Used to perform GET and POST to upload files or post a form, cookie, query, or CGI variable directly to a specified server. |
| CFHTTPPARAM | Used with CFHTTP to specify parameters necessary for a CFHTTP POST operation. |
| CFIF CFELSEIF CFELSE | Used to create IF-THEN-ELSE constructs. |
| CFIMPERSONATE | Allows you to impersonate a user defined in a security context defined in Advanced Security. |
| CFINCLUDE | Embeds references to ColdFusion pages. |
| CFINDEX | Used to create Verity search indexes. |
| CFINPUT | Used in CFFORM to create input elements such as radio buttons, checkboxes, and text entry boxes. |
| CFINSERT | Inserts records in an ODBC data source. |
| CFLDAP | Provides access to LDAP directory servers. |
| CFLOCATION | Opens a ColdFusion page or HTML file. |
| CFLOCK | Ensures data integrity and synchronizes the execution of CFML code. |
| CFLOOP | Repeats a set of instructions based on a set of conditions. |
| CFMAIL | Assembles and posts an email message. |
| CFMAILPARAM | Attaches a file or adds a header to an email message. |
| CFMODULE | Invokes a custom tag for use in your ColdFusion application pages. |
| CFOBJECT | Creates and uses COM, CORBA, or JAVA objects. |
| CFOUTPUT | Displays output of database query or other operation. |
| CFPARAM | Defines a parameter and its initial default value. |
| CFPOP | Retrieves messages from a POP mail server. |
| CFPROCESSINGDIRECTIVE | Suppresses extraneous white space, and other output. |
| CFPROCPARAM | Specifies parameter information for a stored procedure. |
| CFPROCRESULT | Specifies a result set name that other ColdFusion tags use to access the result set from a stored procedure. |
| CFQUERY | Passes SQL to a database. |
| CFQUERYPARAM | Reads, writes, and deletes keys and values in the system registry. |
| CFREGISTRY | Reads, writes, and deletes keys and values in the system registry. |
| CFREPORT | Embeds a Crystal Reports report. |
| CFRETHROW | Rethrows the currently active exception. |
| CFSCHEDULE | Schedules page execution with option to produce static pages. |
| CFSCRIPT | Encloses a set of CFScript statements. |
| CFSEARCH | Executes searches against data indexed in Verity collections using CFINDEX. |
| CFSELECT | Used in CFFORM to create a drop-down list box form element. |
| CFSERVLET | Executes a Java servlet on a JRun engine. |
| CFSERVLETPARAM | Used to pass data to the Java servlet. CFSERVLETPARAM is a child tag of CFSERVLET. |
| CFSET | Defines a variable. |
| CFSETTING | Define and control a variety ColdFusion settings. |
| CFSILENT | Suppresses all output that is produced by the CFML within the tag's scope. |
| CFSLIDER | Used in CFFORM to create a slider control element. |
| CFSTOREDPROC | Specifies database connection information and identifies the stored procedure to be executed. |
| CFSWITCH CFCASE CFDEFAULTCASE | Evaluates a passed expression and passes control to the CFCASE tag that matches the expression result. |
| CFTABLE | Builds a table. |
| CFTEXTINPUT | Places a single-line text entry box in a CFFORM. |
| CFTHROW | Raises a developer-specified exception. |
| CFTRANSACTION | Groups CFQUERYs into a single transaction; performs rollback processing. |
| CFTREE | Used in CFFORM to create a tree control element. |
| CFTREEITEM | Used with CFTREE to populate a tree control element in a CFFORM. |
| CFTRY CFCATCH | Allows developers to catch and process exceptions in ColdFusion pages. |
| CFUPDATE | Updates rows in a database data source. |
| CFWDDX | Serializes and de-serializes CFML data structures to the XML-based WDDX format. |