HTML attributes can be specified in the array as the third parameter.
echo $this->Html->link( 'more', array( 'controller'=>'posts', 'action'=>'view', $post['Post']['id'] ), array( 'id' => 'myId', 'class' => 'myClass' ) );
More information in Cookbook 2.x for version 2.x or Cookbook 1.3 for CakePHP 1.3.
source share