Hacker News new | ask | show | jobs
by Amarandei 3873 days ago
What exactly makes a text a hyperlink?

Does it have to be only the usual <a href="#">text</a> ?

What if I do this: <div link="#">text</div>

And then I use JavaScript to redirect, is it still considered a hyperlink?

Have I just found a loop hole? :)