Their are two special properties of document which helps to access the tags in an document.
1. document.documentElement : Using this property we can access the root node of document.Like HTML and XML.
2. document.body : Using this property we can access the <body> tags in an HTML pages directly.
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in OneStopFAQs.com:-
There should not be any Spelling Mistakes.
There should not be any Gramatical Errors.
Answers must not contain any bad words.
Answers should not be the repeat of same answer, already approved.
Answer should be complete in itself.