If I manipulate the a div through javascript and insert a table within the div using innerHTML, what happens to the DOM structure? Are the child nodes creates automatically (and can they be manipulated directly) or do I have to go through the create element/append child process for that?

Thanks in advance.