title: Why not document.write?
body: <p>Why is it generally not considered good practice to use <code>document.write</code> in Javascript? I know it is not the most elegant or best way to do it, but are there any true errors with it? Is it ever ok? And in what case would it be better than <code>inner.HTML</code></p>
  
  <p>I understand that it will rewrite the document, if used after the loading. However, should I be using <code>innerHTML</code> even if I am trying to rewrite the document? If so, why?</p>
  
  <p>I know some have asked if I even looked at the related questions before posting; I did. But I did not find anything satisfactory.</p>