Link
JHTML::link($url, $text, $arrayattribs)
JHTML::link($url, $text, $arrayattribs)
Write a element
(string $url, string $text, [array $attribs = null])
Defined in
/joomla/html/html.php
Importing
jimport('joomla.html.html');
Examples
Code:
jimport('joomla.html.html'); echo JHTML::link('http://www.joomla.org','Joomla Site');
Output :
jimport('joomla.html.html'); echo JHTML::link('http://www.joomla.org','Joomla Site'); ?>