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.
<cfhtmlhead text = "text">
cfcache,
cfflush,
cfheader,
cfheader,
cfinclude,
cfsetting,
cfsilent
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. |
<!--- 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 <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>