O'Reilly logo

Platinum Edition Using XHTML™, XML, and Java™ 2 by Andrew H. Watt, Mike Morgan, Jim O'Donnell, Eric Ladd

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CFML Tags

CFML tags are similar to XHTML elements in that

  • They can occur as standalone tags or in an opening tag/closing tag pair.

  • They have attributes that modify the effect of the tag.

One thing common to all CFML tags is that the keyword for each tag always begins with the letters CF. This is especially important to remember because some CFML tags, such as <CFFORM> and <CFTABLE>, would be reduced to regular XHTML tags if you left the CF off the keywords.

The next several sections examine many of the useful tags that make up CFML, including

  • Assigning values to ColdFusion variables with <CFSET> and printing their values with <CFOUTPUT>

  • Querying, inserting, updating, and deleting records in a database using <CFQUERY>

  • Implementing conditional logic ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required