Custom tags written in CFML behave like ColdFusion tags. They can do all of the following:
Unlike built-in tags, you can run custom CFML tags in the following three ways:
If your tag takes a body, end it with the same tag name preceded with a forward slash, as follows:
For information on using the cfmodule and cfimport tags to call custom CFML tags, see Creating and Using Custom CFML Tags.
ColdFusion custom tags let you abstract complex code and programming logic into simple units. These tags let you maintain a CFML-like design scheme for your code. You can easily distribute your custom tags and share tags with others. For example, the ColdFusion Developer Exchange includes a library of custom tags that perform a wide variety of often-complex jobs; see www.adobe.com/go/learn_cfu_exchange_en.
Consider using CFML custom tags in the following circumstances:
For more information on custom CFML tags, see Creating and Using Custom CFML Tags.