HTMLInputElement: height property - Web APIs | MDN
Value
A number.
Examples
js
const inputElement = document.getElementById("imageButton");
console.log(inputElement.height);
Specifications
| Specification |
|---|
| HTML # dom-input-height |
Browser compatibility
See also
HTMLInputElement.widthHTMLInputElement.srcHTMLInputElement.altHTMLButtonElement<button><input><img>- CSS
inline-sizeproperty - CSS
heightproperty - CSS
aspect-ratioproperty - CSS box sizing module