modify the ‘text’ to ‘body’ for some sample code in document

For the element only has 'body' property not 'text', so I modified the remain sample code in document.