Get body element from Document object
Description
document.body
returns the body element as HTMLBodyElement
Example
<!DOCTYPE HTML>
<html>
<body>
<script>
document.writeln(document.body);
</script>
</body>
</html><!-- w w w. jav a 2s . co m-->