I want to display multi line text, from JavaScript to the HTML using looping. The text position is after display the image. The text result should be like 
Place ..... // newline price ....

```
<div id="display">
            <script type="text/javascript" src="../controler/package.js"></script>
</div>

var display = document.getElementById('display');

function  buildImages(images,place,k,price){
 var last=document.createElement("IMG");
    last.src=images;
    last.width=800;
    last.height=600;
    last.style.marginTop=30;
    display.appendChild(last);

    var x = document.createElement("H3");
    var t = document.createTextNode("Place:"+place);
    var z = document.createTextNode(" price:"+price);
    x.appendChild(t);
    x.appendChild(z);
    display.insertBefore(x,display.childNodes[k]);

```