Skip to content
Related Articles

Related Articles

HTML | <img> height Attribute
  • Last Updated : 27 May, 2019

The <img> height attribute is used to specify the height of the image in pixels.


<img height="pixels">

Attribute Values: It contains single value pixels which specify the height of the image in pixel.


<!DOCTYPE html>
        HTML img height Attribute
    <h2>HTML img height Attribute</h2>
    <img src=
         alt="GeeksforGeeks logo" 


Supported Browsers: The browser supported by HTML <img> height attribute are listed below:

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Safari
  • Opera


My Personal Notes arrow_drop_up
Recommended Articles
Page :