| Contents > CFML Reference > ColdFusion Tags > cfhtmlhead |
|
|
|
|
||
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.
<cfhtmlhead
text = "text">
cfcache, cfflush, cfheader, cfheader, cfinclude, cfsetting, cfsilent
Attribute |
Req/Opt |
Default |
Description |
|---|---|---|---|
text |
Required |
|
Text to add to the <head> area of an HTML page. |
If you use this tag after the cfflush tag on a page, an error is thrown.
<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
<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>
|
|
||
| Contents > CFML Reference > ColdFusion Tags > cfhtmlhead |
|
|
ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting
Version 6.1
Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p57.htm
Comments
No screen name said on May 17, 2004 at 8:57 AM :