JDocumentHTML/addCustomTag
From Joomla! Documentation
Adds a custom HTML string to the document head.
Syntax
void addCustomTag( $html )
where:
| Argument | Data type | Description | Default |
|---|---|---|---|
| $html | string | Custom HTML string to be added. |
Example
Adding a comment to the HTML head section:
$doc =& JFactory::getDocument(); $doc=>addCustomTag( '<!-- This is a comment. -->' );