i have a question, can i replace html tag to another ?
But i don\'t want to make the content blank. like this:
content<
It would be invalid HTML (div elements do not have a href attribute) and not act like a link anymore.
However, you could emulate the behaviour using JavaScript:
$('div').on('click', function() {
location.href = $(this).attr('href');
});
But please do not do this. It breaks middle-mouse-clicks (for a new tab) for example.