A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/height below:

HTMLIFrameElement: height property - Web APIs

HTMLIFrameElement: height property

Baseline Widely available

The height property of the HTMLIFrameElement interface returns a string that reflects the height attribute of the <iframe> element, indicating the height of the frame in CSS pixels.

Value

A string indicating the height of the frame in CSS pixels.

Examples

html

<iframe id="el" width="800" height="600"></iframe>

js

const el = document.getElementById("el");
console.log(el.height); // Output: '600'
Specifications Browser compatibility See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4