Anne has "overloaded Node.appendChild" with DOMString.That makes appendChild('<div>hello world</div'); easier. That's my understanding, anyway.
You misunderstood. It will append a Text node whose data is the given string.
-- Anne van Kesteren http://annevankesteren.nl/