The Document Object Model (or DOM model for short) is used to identify the various objects or elements in a web page and how they are related to the web page itself. The DOM model is used to interact with objects and elements on a webpage when developing it and is used by virtually all popular web programming languages which comprises of XML and HTML among others.
- Screen.height - returns the height of the user's screen in pixels.
- URL - returns or sets the complete URL of the web page that the code is executed on.
- Title - returns or sets the title of the website that the code exists on.
- Button - Returns a value which represents a mouse button pressed. (i.e. 1 = left, 2 = right)
- Scrollwidth - Used to return a width of any object on a page or the page itself.
- Implementation - Returns the DOM syntax implemented in the page it is executed on.