<html> <head> <title>MY TITLE</title> </head> <body> The title of the document is: <script type="text/javascript"> document.write(document.title) </script> </body> </html>