Not seeing the context of what you want to do, I can give you a option that should give you what you need.
Let's assume your <div> has id='xyz'.
An image presentation could be something like:
<img src='my.gif'>
Then you can insert it into your <div> with the following:
<script type='text/javascript'>
document.getElementById('xyz').innerHTML="<img src='my.gif'>";
</script>