• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Step 1. The Basics > Your First Template

Your First Template

All right. You’ve set up ColdFusion Server according to the instructions in the Appendix, and it is time to put what we have learned so far to some use. We will now take a look at a few common ColdFusion tags and functions and then tie everything together in our first ColdFusion template.

The <CFSET> Tag

One of the most commonly used ColdFusion tags is <CFSET>. This tag is used to assign a value to a variable. Variables will be covered in depth in Step 2, but for now, just think of a variable as a container that holds whatever value you assign to it. The variable also is given a name so that you can recall its value whenever it’s needed.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint