Please | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Please

please tell me how to insert changing images in HTML .

4th Feb 2017, 7:22 AM
Crazy Gamer 45
Crazy Gamer 45 - avatar
1 Answer
+ 1
I think there is a few ways to do it depending on what you want to do. You could add an animated gif the same way you add any image <img src="url" alt="some_text" style="width:width;height:height;"> just the image pointed to has to be an animated gif or some other animated image. You can created animated gif's a lot of ways but I like to use gimp you could change the image using javascript, you can add an onmouseover event to your image tag or onmouseout tag to change it when the mouse leaves the image. you can add animations with css3, and so on. it all depends on what you are looking to do. I suggest checking out http://www.w3schools.com/html/html_images.asp The w3schools site is a great reference in general for web development stuff
4th Feb 2017, 10:45 AM
Bill
Bill - avatar