The Document interface represents any web page loaded in the browser and serves as an entry point into the web page's content, which is the DOM tree.
Document
MDN Reference
Optional
Readonly
The
Documentinterface represents any web page loaded in the browser and serves as an entry point into the web page's content, which is the DOM tree.MDN Reference