How to use cfdump format (html, text) in ColdFusion

cfdump - format (html, text) attribute

cfdumpFormat.cfm



<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>cfdump tag: how to use format (html, text) attribute in cfdump in coldfusion</title>
</head>

<body>
<h2 style="color:DodgerBlue; font-style:italic">cfdump tag example: how to use format (html, text) attribute</h2>
<hr width="600" align="left" color="CadetBlue" />
<br />

<cfset Color=StructNew()>
<cfset Color.ID=1>
<cfset Color.Name="Bisque">
<cfset Color.Value="##FFE4C4">

<cfdump var="#Color#" label="Color [Format html]" format="html">
<br /><br />

<cfdump var="#Color#" label="Color [format text]" format="text">

</body>
</html>






More ColdFusion examples