My first paragraph type. Type this in to traverse the DOM: document.documentElement.lastChild.firstElementChild.firstElementChild.innerHTML;

From: http://www.brainjar.com/dhtml/intro/default.asp

To append a new paragraph:
1) Traverse to document.documentElement.lastChild.firstElementChild (the first div tag inside the body)
2) Create a new paragraph: paraNew = document.createElement("p");
3) Add some content to it: paraNew.appendChild( document.createTextNode("This is a new paragraph"));
4) Append the child to the body: document.documentElement.lastChild.firstElementChild.appendChild(paraNew);
5) Remove the child from the div: document.documentElement.lastChild.firstElementChild.removeChild(paraNew);