There are a number of CFML tags that allow you to code nearly anything you can imagine. But before we start investigating some of these tags and their functions, it is good to understand the general syntax of CFML tags. The overall syntax of CFML tags can be described as:
<tagname attribute="value"> Code/text that is affected by the surrounding tags. </tagname>
A tag can have one or more attributes that have values similar to HTML. They can also wrap some code or text that will be affected by the surrounding tags. It is important to note that despite the previous example, all CFML tag names start with "cf"; so, for example, we have tags called <cfabort>
, <cfloop>, <cfoutput>
, and so on.