Which instruction retrieves the tags and the text of an HTML element?

document.getElementById()document.getElementById().innerHTML

document.getElementById() retrieves the whole element, with its tags and text.