Window Object Review

When someone opens a browser or a new tab in a browser the computer's operating system creates a new Window Object. The browser uses this Window object to contain the various pieces of a web page. Javascript has access to the Window object and the various objecs within it.

  1. Window Object
  2. The window object represents the open window in the browser. So every tab and every open browser is a window object.

  3. navigator object
  4. The navigator object contains information about the browser. You can use javascript to return informationo about the browser the client side is using.

  5. location object
  6. The location object contains information about the current URL. The location object is part of the window object and is accessed through the window.location property.

  7. screen object
  8. The screen object retuns information about the client side screen. Such as size, type, resolution ect.

  9. history object
  10. The history object is what is used for the back and forward button in the browser. This also keeps track of where you have been and what you have been looking at.

  11. document object
  12. the document object is displayed in the window object and renders into the browser displaying the webpage that is made out of Html and css