<cfhtmlbody>
Writes the text specified in the text attribute to the 'body' section of a generated HTML page. The cfhtmlbody tag can be useful for embedding JavaScript code, or placing other HTML tags that should go at the bottom of the page just before the closing body tag.
This tag may have a body.
This tag is also supported within <cfscript>
<cfhtmlbody
text=string
variable=string
id=string
force=boolean
action=append|read|reset|write
><!--- body --->[</cfhtmlbody>]
Examples
Simple Example
<cfhtmlhead text="Its from HTMLHEAD tag"><br>
<cfhtmlbody text="It is from HTMLBODY"></cfhtmlbody>
<cfhtmlbody action="read" variable="res"></cfhtmlbody>
<cfoutput><b>#res#</b></cfoutput>
See also
- WriteOutput()
- <cfheader>
- <cfhtmlhead>
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)