For Logging a document in HTML Page-
1- Console.log(document.body);
This will display all body of the page
2- console.log(document.Location)
This will show the location of document and ip and host and path details.
3- console.log(document.url)
This will show the location of current request to server
4- console.log(document.activeElement)
This will show all the active element in the current page
5- console.log(document.cookie)
This will show all ccokie in the current page
1- Console.log(document.body);
This will display all body of the page
2- console.log(document.Location)
This will show the location of document and ip and host and path details.
3- console.log(document.url)
This will show the location of current request to server
4- console.log(document.activeElement)
This will show all the active element in the current page
5- console.log(document.cookie)
This will show all ccokie in the current page
No comments:
Post a Comment