---
title: DOMRectReadOnly.height
slug: Web/API/DOMRectReadOnly/height
tags:
  - API
  - DOM
  - DOMRectReadOnly
  - Geometry
  - Property
  - Reference
browser-compat: api.DOMRectReadOnly.height
---
{{APIRef("Geometry Interfaces")}}

The **`height`** read-only property of the **`DOMRectReadOnly`** interface represents the height of the `DOMRect`.

## Syntax

```js
var recHeight = DOMRect.height;
```

### Value

A double.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- {{domxref("DOMRect")}}
