How to make div clickable?
Posted
by metal-gear-solid
on Stack Overflow
See other posts from Stack Overflow
or by metal-gear-solid
Published on 2010-05-21T03:25:09Z
Indexed on
2010/05/21
3:30 UTC
Read the original article
Hit count: 152
I want to make this div click-able and want to use same href
of inside <a>
and want to keep link in inside <a>
also (so if JS is disabled then link will be accessible).
<div id="example">
<p> some text </p>
<img src="example.jpg />
<a href="http://stackoverflow.com"> link </link>
</div>
© Stack Overflow or respective owner