I have a elementary question. Suppose I'm using jQuery inserting the following:
<div>
    <img src="foo.jpg"/>
    <p>foo bar</p>
</div>
Can I only write it inline like the this:
$("#foo bar").append("<div><img src="foo.jpg"/><p>foo bar</p></div>")
, or can I somehow keep the line break and indentation of the original code?
 
    