cfhtmlhead

Description

cfhtmlhead writes the text specified in the text attribute to the <head> section of a generated HTML page. The cfhtmlhead tag can be useful for embedding JavaScript code, or placing 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

Attributes

Attribute
Description
text
The text 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>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 &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>

</html>    



Banner.Novgorod.Ru