I want to give height and width for my photo. It is very Big. I want to do my image small. Thanks you. | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
- 1

I want to give height and width for my photo. It is very Big. I want to do my image small. Thanks you.

Doing image(photo) small: height and width small. https://code.sololearn.com/WK2eZvJ6FIZO/?ref=app

23rd Apr 2021, 7:21 AM
Malick Diagne
Malick Diagne - avatar
2 ответов
+ 3
img.style.height = "100%"; img.style.width = "100%";
23rd Apr 2021, 7:32 AM
Rohit
0
19. img.height = 250; 20. img.width = 250;
23rd Apr 2021, 8:21 AM
Solo
Solo - avatar