ColdFusion Tags

Macromedia ColdFusion (formerly Allaire ColdFusion) also processes server-side scripts and delivers HTML pages to the user’s browser dynamically. For an overview of ColdFusion, see

For more on ColdFusion, see Programming ColdFusion by Rob Brooks-Bilson (O’Reilly).

ColdFusion Markup Language (CFML) uses HTML-style tags, as defined in the ColdFusion.xml file. For example, the following <tagspec> element tells Dreamweaver how to display a CFML tag named CFABORT:

<tagspec tag_name="CFABORT" tag_type="empty" render_contents="false"
  content_model="script_model" detect_in_attribute="true"
  icon="ColdFusion.gif" icon_width="16" icon_height="16">

ColdFusion files have a .cfm or .cfml extension and can contain both CFML elements and HTML elements. CFML tag names begin with CF. For example, CFML offers a <CFFORM> element analogous to the HTML <form> element.Table 21-3 lists the CFML tags recognized in Dreamweaver by default. Many ColdFusion tags are not listed, but you can add them to the ColdFusion.xml file, as described earlier. With Macromedia’s recent acquisition of ColdFusion, expect to see greater support for CFML tags in future versions of Dreamweaver and UltraDev.

Table 21-3. Recognized ColdFusion tags

Opening tag

Closing tag




Aborts processing of CFML



Defines an application and activates its variables



Embeds Java applets in a CFFORM ...

Get Dreamweaver in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.