User Guide
Chapter 1: ColdFusion Tags 91
CFHTMLHEAD
CFHTMLHEAD writes the text specified in the TEXT attribute to the <HEAD> section
of a generated HTML page. CFHTMLHEAD can be useful for embedding JavaScript
code, or placing other HTML tags such as META, LINK, TITLE, or BASE in an HTML
page header.
Syntax <CFHTMLHEAD TEXT="text">
TEXT
The text you want to add to the <HEAD> area of an HTML page. Everything inside
the quotation marks is placed in the <HEAD> section.
Example <!--- This example shows the use of CFHTMLHEAD --->
<CFHTMLHEAD TEXT="<TITLE>This is an example of a generated header</TITLE>
<BASE HREF=’http://www.allaire.com/’>
">
<HTML>
<HEAD>
</HEAD>
<BODY>
<H3>CFHTMLHEAD Example</H3>
<P>CFHTMLHEAD writes the text specified in the TEXT attribute
to the <HEAD> section of a generated HTML page. CFHTMLHEAD
can be useful for embedding JavaScript code, or placing other
HTML tags such as META, LINK, TITLE, or BASE in an HTML header.
<P>View the source of this frame to see that the title of the
page is generated by the CFHTMLHEAD tag.
</BODY>
</HTML>