Overview ColdFusion Open BlueDragon Lucee

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.


Name Required Type Default Description
action No possible actions are: - append (default): append text to the html head - read: return the text already set to html head - reset: reset/remove text already set to hrml head - write: write text to html head, overwrite already existing text in html head
position No APPEND|PREPEND controls where you wish the header text to appear within the head area
text Yes String Text to add to the area of an HTML page.
variable No Name of variable to contain the text for htmlhead.