how to put a gif in html? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how to put a gif in html?

does it posible to put a gif in html? how to put it... please help

24th Apr 2018, 3:15 AM
Luis O. Espinosa N.
Luis O. Espinosa N. - avatar
3 Answers
+ 3
whether you the image used is a gif, png or jpeg ; yes you can put it in an html with the image tag. See example as stated below: <img src="smiley.gif" alt="Smiley face" height="42" width="42"> The <img> tag defines an image in an HTML page. The <img> tag has two required attributes: src and alt. Note: Images are not technically inserted into an HTML page, images are linked to HTML pages. The <img> tag creates a holding space for the referenced image.
24th Apr 2018, 4:30 AM
Awele Omeligwe
Awele Omeligwe - avatar
+ 3
If you need help with a code and the code is here on SL, just paste d link so others can help you. but as you have mentioned I cannot help you cos I did not see any code....😐😐😐 Composer is for installing php packages and it has nothing to do with the image not displaying...or moving.
24th Apr 2018, 4:37 AM
Awele Omeligwe
Awele Omeligwe - avatar
+ 1
no problem bro i just had that little question no need to publicate the code 😂 but try to use what you learn here in the pc with kompozer, i bet you will think you are working with nails and stones to build a house💔😂 its a headache
24th Apr 2018, 4:41 AM
Luis O. Espinosa N.
Luis O. Espinosa N. - avatar