<html>
<head>
<link href="mmres://user_interface_reference.css" rel="stylesheet" type="text/css">
<title>CFHTMLHEAD</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
   <div id="Description">
   <table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
      <tr> 
         <td valign="top" class="name">CFHTMLHEAD</td>
         <td valign="top" nowrap class="compatibility">&nbsp;</td>
      </tr>
      <tr>
         <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
      </tr>


    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Description</span>
<p>
Writes text to the head section of a generated HTML page.
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Category</span>
<p>
Page processing tags
</p>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="syntax"><span class="title">Syntax</span><pre>&lt;cfhtmlhead 
   text = &quot;text&quot;&gt;
</pre>    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">See also</span>
<p>
cfcache, cfflush, cfheader, cfheader, cfinclude, cfsetting, cfsilent
</p>

<p>

</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Usage</span>
<p>
Use this tag for embedding JavaScript code, or putting other HTML tags, such as meta, link, title, or base in an HTML page header. 
</p>

<p>
If you use this tag after the cfflush tag on a page, an error is thrown.
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Example</span><pre>&lt;!--- This example displays the information provided by the Macromedia
Designer &amp; Developer Center XML feed, 
http://www.macromedia.com/devnet/resources/macromedia_resources.rdf 
See http://www.macromedia.com/desdev/articles/xml_resource_feed.html
for more information on this feed. ---&gt;

&lt;!--- Set the URL address. ---&gt;
&lt;cfset urlAddress=&quot;http://www.macromedia.com/devnet/resources/
macromedia_resources.rdf&quot;&gt;

&lt;!--- Use the CFHTTP tag to get the file content represented by urladdress 
Note that /&gt;, not an end tag. terminates this tag. ---&gt;
&lt;cfhttp url=&quot;#urladdress#&quot; method=&quot;GET&quot; resolveurl=&quot;Yes&quot; throwOnError=&quot;Yes&quot;/&gt;

&lt;!--- Parse the XML and output a list of resources. ---&gt;
&lt;cfset xmlDoc = XmlParse(CFHTTP.FileContent)&gt;

&lt;!--- Get the array of resource elements, the xmlChildren of the xmlroot. ---&gt;
&lt;cfset resources=xmlDoc.xmlroot.item&gt;
&lt;cfset numresources=ArrayLen(xmlDoc.xmlRoot.xmlChildren)-1&gt;
&lt;cfloop index=&quot;i&quot; from=&quot;1&quot; to=&quot;#numresources#&quot;&gt;
&lt;cfset item=resources[i]&gt;
&lt;cfoutput&gt;
&lt;strong&gt;&lt;a href=#item.link.xmltext#&gt;#item.title.xmltext#&lt;/strong&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Author&lt;/strong&gt;&amp;nbsp;&amp;nbsp;#item.creator.xmltext#&lt;br&gt;
&lt;strong&gt;Description&lt;/strong&gt; #item.description.xmlText#&lt;br&gt;
&lt;strong&gt;Applies to these products&lt;/strong&gt;&lt;br&gt;
&lt;cfloop index=&quot;i&quot; from=&quot;1&quot; to=&quot;#arrayLen(item.subject)#&quot; step=&quot;1&quot;&gt;
#item.subject[i].xmltext#&lt;br&gt;
&lt;/cfloop&gt;
&lt;br&gt;
&lt;/cfoutput&gt;
&lt;/cfloop&gt; 
</pre>
         </td>
      </tr>
   </table>
   </div>
<div id="TEXT">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">TEXT</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Required</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">



<p>Text to add to the &lt;head&gt; area of an HTML page.</p>

  </td>
  </tr>
  </table>
</div>

  </body>
</html>
