0

We web

How to know the size of my image input please help me out please https://code.sololearn.com/W91quRqFUKpX/?ref=app

4th Jul 2022, 1:40 PM
Ibiyemi Daniel
Ibiyemi Daniel - avatar
2 Antworten
4th Jul 2022, 3:24 PM
A͢J
A͢J - avatar
+ 1
Apart from JavaScript; You can simply check the dimension of the image by clicking on the image and viewing the file properties. With HTML you may set any size you wish. With the style property. <img src="image.jpg" alt="an image" style="width:500px; height:600px;"> It is recommended to style with CSS. To keep HTML code clean. img { height: 600px; width: 400px; } <img src="image.jpg" alt="an image">
5th Jul 2022, 6:22 AM
Chris Coder
Chris Coder - avatar