Click to See Complete Forum and Search --> : How to add an animated gif to a css or html page please?


Rianna
04-10-2006, 05:58 AM
Hi, I know how to add still images to my web page but how do I add an animated gif to it. Its a basic css and html page. Thanks! Rianna :)

pcthug
04-10-2006, 06:10 AM
Just like a normal image:
<img src="path/to/animated.gif" alt="This will display an animated GIF" />

or css
body {background-image: url(path/to/animated.gif);}

Rianna
04-10-2006, 06:15 AM
Thanks, why isn't it animated when I apply it to the page? I only have it saved to my hard drive.

Rianna
04-10-2006, 06:23 AM
Holy Mackeral! Its moving, haha. It only moved when I looked at it through a browser, too cool, too easy, thanks PC, your so smart. Ri.