Table Maker3schools TranslateImage CompressorFavicon Icon GeneratorCrop & Resize Image
Apu
Apu September 19, 2022 . #image . #Q&A

How to specify the height and width for an image?

The height attribute is used to specify the height of an image.

The height and width attributes are used to specify the height and width of the image in pixels.

The width attribute is used to specify the width of an image.

Syntex:

<img width="50" height="50" src="/img.png">
save
listen
AI Answer
Write Your Answer
loading
back
View All