HtmlHead

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.

If there is no head section in the HTML page, the function will create one.

Method Signature

HtmlHead(text=[string])

Arguments

Argument
Type
Required
Description
Default

text

string

true

Text to add to the head area of an HTML page.

Examples

Last updated

Was this helpful?