In javascript, I can do:
img1 = new Image();
img2 = document.createElement('img');
my question is, is there a difference between the two approach? I've read somewhere that Image, Form, and Element is called host objects, is this true? If it is, what are host objects?
Which approach is preferable?