Which instruction accesses the heading element?

document.getElementById("generator")document.getElementById("unprepared")document.getElementById("generator").innerHTML<html>
<body>
<h3 id="generator">Random Joke Generator</h3>
<p id="unprepared">
<em>For the unprepared</em>
</p>
</body>
</html>]]>

The document.getElementById("generator") instruction accesses the whole heading element.