echo CHtml::link('Click here', array('controller/action'));
echo CHtml::openTag('div', array('class' => 'container')); echo CHtml::tag('h1', array(), 'Hello, world!'); echo CHtml::closeTag('div');This code generates an HTML block that contains a heading element with the text "Hello, world!". Library: CHtml is a part of the Yii framework, a popular PHP web application framework.