The problem is that, by default, the browser saves all elements as properties windowthat are bound to their attribute id- this is part of the reason you cannot have multiple elements with the same id, so the HTML that you specified is not valid.
window.hello Element - <div> HTML.
, , hello, , , window.hello. hello "new hello".