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="">
cfhtmlhead() {}
<cfhtmlhead text='<link href="/news.xml" rel="alternate" type="application/rss+xml" title="Latest News" />'>
cfhtmlhead( text='<link href="/news.xml" rel="alternate" type="application/rss+xml" title="Latest News" />');
Lucee 4.2+
htmlhead text='<link href="/news.xml" rel="alternate" type="application/rss+xml" title="Latest News" />';
Lucee tag wrap
<cfhtmlhead><link href="/news.xml" rel="alternate" type="application/rss+xml" title="Latest News" /></cfhtmlhead>
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.