3. What is BOM?
To run a web page different web browsers are required which are divided into different parts called Objects. These objects collectively known as Browser Object Model( BOM). To interact with the browsers browser object model is used. In this, the different objects used are Window, Navigator, history, and Screen where Window is the default browser object.
4. What is DOM? What is the use of document objects?
5. What is the use of Window Object?