FIDDLE here
If you have values in javascript that you want to change in the HTML the best is to create those elements in javascript. But if I just follow your HTML you can use:
(there are some markup errors in your html, so I changed that)
html
<div><img id="value1" src="#" /><br/>
<p id="value2">value2</p>
<a id="value3" href="#">Link</a></div>
script
// here you give value to the js variables
var value1 = 'image.jpg';
var value2 = 'Test text';
var value3 = 'http://www.stackoverflow.com';
// here you put/bind the values with the ids in the html
document.getElementById('value1').src = value1;
document.getElementById('value2').innerHTML = value2;
document.getElementById('value3').href= value3