 <p>You can just add the link inside the title attribute:</p> <pre><code>&lt;a href="myimage.jpg" rel="examples" title="Sandra - &lt;a href='sandra.htm'&gt;Go to her page&lt;/a&gt;"&gt;Sandra&lt;/a&gt; </code></pre> <p>Note the single quotes inside the title attribute, or you could use escaped quotes.</p>