how can I use the image in a link with more tags in Yii2 Framework
<p>hi to all i want to ask that how to use the image in a link with more tags in Yii2 Framework, I am doing like this, it showing the image and echoing the speaker name but I want to create the click event.</p>

<pre><code>&lt;a href="#" class="list-group-item"&gt;
    &lt;img class="speakerimg" 
        src="&lt;?= Yii::getAlias('../adminpanel/web').$speaker-&gt;image_path; ?&gt;"&gt;
    &lt;span style="margin: 0 0 0 20px;"&gt;
        &lt;?= $speaker-&gt;speaker_name;?&gt;
    &lt;/span&gt;
&lt;/a&gt;
</code></pre>