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

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")}}
