Actions

JDocumentHTML/addFavicon

From Joomla! Documentation

Adds a link to the icon shown in the favourites list or on the left of the URL in the address bar. Some browsers display it on the tab, as well.

Syntax

void addFavicon( $href, $type, $relation )

where:

Argument Data type Description Default
$href strng URL of the icon image file.
$type string MIME type of the icon image file. 'image/x-icon'
$relation string Relation of link. 'shortcut icon'

Example

See also