API17:JHtml::link
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JHtml::link
Description
Write a element.
Description:JHtml::link [Edit Descripton]
Since
Synopsis
public static JHtml::link ($url, $text, $attribs=null)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $url | string | The relative URL to use for the href attribute | |
| $text | string | The target attribute to use | |
| $attribs | array | null | An associative array of attributes to add |
Returns
Defined in
libraries/joomla/html/html.php (line 204)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
