| Contents > Getting Started Building ColdFusion MX Applications > CFML Basics > Working with ColdFusion pages > Creating a ColdFusion page |
|
|
|
|
||
Creating a ColdFusion page involves using tags and functions. The best way to understand this process is to create a ColdFusion page.
In the following procedure, you will create a simple ColdFusion page by using HTML tags, one ColdFusion tag, and two ColdFusion functions. The following table briefly explains the ColdFusion tags and functions:
Element |
Description |
|---|---|
Now() |
A function supported in CFML that you can use to retrieve information from your system. You will use the |
DateFormat() |
A function that instructs ColdFusion to format the date returned by the |
cfoutput |
A ColdFusion tag that you use to return dynamic data (data retrieved from a database) to a web page. You will use the |
Note: ColdFusion tags and functions are considered primary elements of CFML. You will learn more about these elements and others later in this book.
<html> <head> <title>A ColdFusion Page</title> </head> <body> <strong>Hello world, this is a ColdFusion page.</strong> <br> <cfoutput> Today's date is #DateFormat(Now())# </cfoutput> </body> </html>
|
|
||
| Contents > Getting Started Building ColdFusion MX Applications > CFML Basics > Working with ColdFusion pages > Creating a ColdFusion page |
|
|
ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting
Version 6.1
Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.