Returns the HTML content of an Element as String.
getHtml
Simple example:
console.log(document.getElementById('foo').getHtml());