You do not want to use an alert() for this. It's text is always plain text.
You have to basoc options:
- Create your own box (a <div>) which can contain a link (hidden/visible).
- Use a confirm() box and base upon the return, go to the link location or don't.
Free additional hint: use location.assign() to go to a specific link location if you use the confirm() route.