CFHTMLHEAD |
Description
Writes text to the head section of a generated HTML page. It is useful for embedding JavaScript code, or putting other HTML tags, such as meta, link, title, or base in an HTML page header.
Category
Page processing tags

Syntax

    <cfhtmlhead
       text = "text">

See also
cfcache, cfflush, cfheader, cfheader, cfinclude, cfsetting, cfsilent
Usage
If you use this tag after the cfflush tag on a page, an error is thrown.

Example

    <body>
    <!--- This example shows the use of cfhtmlhead --->
    <cfhtmlhead
       text="<meta name=""Description""
       content=""This is an example of a generated header"">">

    <p>cfhtmlhead writes the text specified in the text attribute to the
    &lt;HEAD&gt;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>

TEXT |
| Required
Text to add to the <head> area of an HTML page.