Edit This Code:
See Result »
HTML DOM Objects
A demonstration of how to access a TITLE element
Click the button to get the text of the document's title.
Try it
Result: