I want to make this div accessible and want to use the same href inside <a> and also want to keep in touch inside <a> (so if JS is disabled, the link will be available).
<div id="example"> <p> some text </p> <img src="example.jpg /> <a href="http://stackoverflow.com"> link </link> </div>
I mean, I need it like that.
<div id="example" href="http://stackoverflow.com"> <p> some text </p> <img src="example.jpg /> <a href="http://stackoverflow.com"> link </link> </div>
javascript jquery css xhtml
Jitendra vyas
source share