<div id="target"><span>あいうえお</span></div>
let element = document.getElementById('target');
console.log(element)
let element2 = element.innerHTML;
console.log(element2)
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.