---
title: Screen.top
slug: Web/API/Screen/top
tags:
  - API
  - API:Microsoft Extensions
  - API:Mozilla Extensions
  - API:WebKit Extensions
  - DOM
  - Non-standard
  - Property
  - Window
browser-compat: api.Screen.top
---
{{APIRef("CSSOM")}}{{deprecated_header}}{{Non-standard_Header}}

Returns the distance in pixels from the top side of the current screen.

## Syntax

```js
let top = window.screen.top;
```

## Specifications

Not part of any current specification.

## Browser compatibility

{{Compat}}

## See also

- {{DOMxRef("Screen.left")}}
