Mega Code Archive

 
Categories / JavaScript Tutorial / Document
 

Document title

The title property is a read-only string that specifies the title of the document. This property is commonly set with the tag. <html>     <head><title>My Web Page</title></head>     <script>     <!--     document.write("The title of this page is <i>");     document.write(document.title,"</i>");     -->     </script>     </html>