0

Can we only add .jpg images in html using <img>?

In examples in SoloLearn only .Jpg are there. Any help would be appreciated.

3rd Jan 2019, 12:42 PM
Vinayak Sharma
Vinayak Sharma - avatar
2 ответов
+ 5
While relative to the format supported by the specific browser, common image formats such as jpeg/jpg, gif, png, bmp, ico and more, should work. E.g. Firefox: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img
3rd Jan 2019, 12:46 PM
Hatsy Rei
Hatsy Rei - avatar
0
Thanks Hatsy Rei
3rd Jan 2019, 12:47 PM
Vinayak Sharma
Vinayak Sharma - avatar