title: Is syncronous document.createlement for html tags?
body: <p>I have some code to create a html UI.
  I create divs, imgs, etc. Also, I add code for events.
  Basically my code is something like : (pseudo code)</p>
  
  <pre><code>for x =1 to n items
  {
  switch type of tag (div, img, etc)
  my_object =document.create(tag);
  do some things with my_object
  }
  </code></pre>
  
  <p>Ok. So far, my code runs right, but I have a terrible doubt.... 
  Is it possible that under certain unknown conditions , 'my_object' isn't created and was not be ready to use at 'do some things with my_object' ??
  The same question when I was setting style properties.</p>
  
  <p>In other words, can I expect a sync execution of 'document.create' and 'my_object.style'  settings ? Repeat, so far I have not problems but ....
  Thanks.</p>
  
  <p>EDITED : YES, I wanted to write createlement </p>