title: nodes created within the appendchild argument is not executing
body: <p>I execute the following lines in Console</p>
  
  <pre><code>thead=document.createElement('thead')
  thead.appendChild((document.createElement('th')).appendChild(document.createTextNode('Inner Text')))
  </code></pre>
  
  <p>But when I execute thead, the return is a 'thead' tag with 'Inner Text' as its content. There is no 'th' tag as per the command execution.</p>
  
  <p>Why does it not work? </p>