How to insert an moving image in html?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to insert an moving image in html??

2nd Aug 2019, 6:48 AM
Sohan Ubale
Sohan Ubale - avatar
6 Answers
+ 4
Are you referring to an animated GIF? If so, you would use an <img> tag.
2nd Aug 2019, 10:08 AM
David Carroll
David Carroll - avatar
+ 3
One way is to include a video which is also a type of moving image.
2nd Aug 2019, 9:49 AM
Sonic
Sonic - avatar
+ 1
Try looking up canvas for html5 and SVG animations can be created using the <animate> element.
2nd Aug 2019, 7:25 AM
Alberto Fernandez
+ 1
[Tutorial] Upload content from your device to CodePlayground - The Dropbox way https://code.sololearn.com/WW6t4B73kJVz/?ref=app
2nd Aug 2019, 10:53 PM
Gordon
Gordon - avatar
+ 1
Use img tag if using a gif, or you can draw with canvas, or use an svg ... I often just draw the vectors I want to use in photoshop and save as svg and animate it with css.
2nd Aug 2019, 11:07 PM
Mike
Mike - avatar