Source Editor removes my link for div

Permalink
I'm trying to make an entire div clickable by using
<a href="link">
<div>content</div>
</a>

but after saving, the link tags disappear.

This applies to both HTML Block and Content Block Source Editor,

I've tried editing the content in the DB but it gets rendered as
<a href="link"></a>
div>content</div>

any advice would be appreciated.

 
techtools replied on at Permalink Best Answer Reply
Sorry I just realized that I had links inside links and that is an html no no.