Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialMike Massa
695 Pointscan I replace an img file in my html code with a gif file?
I like the look of my website html code after the course, but want to have animation. Can I, for example, use a gif file in place of an img file, and thereby where the picture was that space is now animated ?
2 Answers
Marcus Parsons
15,719 PointsHey Mike,
Absolutely you can! All you have to do is change the src of the image to the new gif picture. It is the exact same as having another type of image file, except that the gif will be animated :P
Mike Massa
695 PointsThank you! I will try to get a hold of a free .gif maker or maybe break down and buy photoshop.
Marcus Parsons
15,719 PointsNo problem, Mike! That sounds good. I don't know of any good gif makers, but I'm sure the internet has a wealth of programs available :P