Quackit Logo

FREE Hosting!

With every domain name you register with ZappyHost, you get FREE hosting.

$1.99 Domain Names

With every new non-domain purchase thru ZappyHost, you get a domain name for only $1.99.

ColdFusion Syntax

Print Version

The term ColdFusion Syntax refers to a set of rules that determine how the ColdFusion application will be written by the programmer, and interpreted by the ColdFusion Server.

These rules are referred to as the ColdFusion Markup Language (CFML). CFML is, as the name would suggest, a markup language that programmers need to use when they create a ColdFusion application. It consists of a number of tags. Similar to HTML, these usually consists of an opening tag and a closing tag, and are surrounded by greater than and less than symbols. Closing tags have a forward slash after the less than symbol. ColdFusion tags can also contain one or more attributes.

Tag Syntax

ColdFusion tags use the following format.

<tagname attribute="value">
  Code/text that is affected by the surrounding tags.
</tagname>

Code Example

ColdFusion code:

<cfoutput query="myQuery">
  #firstname#<br />.
</cfoutput>

Enjoy this website?

  1. Link to this page (copy/paste into your own website or blog):
  2. Add this page to your favorite social bookmarks sites:
               
  3. Add this page to your Favorites

Oh, and thank you for supporting Quackit!