<video id="media" width="800" height="600"></video>HTMLVideoElement: width property / notebook
HTMLVideoElement: width property
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
const el = document.getElementById("media");
console.log(el.width); // Output: 800