Document object, properties and method/function associated with it!
Property | Description | Example |
linkColor | Property "linkColor" is used to set/get value of link attribute of body tag. | Code To Get: var dd = document.linkColor; Code To Set: document.linkColor = "afefaa"; Test |
lastModified | Property "lastModified" is used to get the time at which the document or web page was last modified. | Code To Get: var dd = document.lastModified; Test |
referrer | Property "referrer" is used to get the url or link of the referrer document or web page from which the user has reached this page. | Code To Get: var dd = document.referrer; Test |
title | Property "title" is used to set or get title of the document using javascript. | Code To Get: var dd = document.getElementsByTagName('title')[0].text; Code To Set: document.title = "test title"; Test |
url | Property "url" is used to get the url string of current page or document. | Code To Get: var dd = document.url; Test |
vlinkColor | Property "vlinkColor" is used to get/set the "visited link" color attribute of body tag. | Code To Get: var dd = document.vlinkColor; Code To Set: document.vlinkColor = "afafdd"; Test |