Access the content of the heading.

Make sure to assemble getElementById("title").innerHTML.