JavaScript Documentalert ($ (window). Height ()); The browser's current window has a visible area height of alert (document). Height ()); The height of the browser's current window document is alert ($ (document.body). Height ());//browser Current window document body height alert ($ (document.body). Outerheight (True));// The total height of the body of the browser's current window document includes border padding margin alert ($ (window). width ()); Browser Current window viewable area width alert ($ (document). width ());//browser Current window Document object widths alert ($ (document.body). width ());//browser Current window document body height Alert ($ (document.body). Outerwidth (True));//The total width of the document body of the browser's current window includes border padding margin alert (document). ScrollTop ()); Gets the distance between the top of the object and the top of the visible content in the window