indiWiz.com
SiteSearch:
Jump:

Site Map | WizTools.org | jCraze Blog
Web Developer's Den!
Home : WDD : html
This Article...
Print Version
Add Comment
View Comments
html
HTML Primer 1
HTML Primer 2
Hyperlinks
Color Guide 1
Color Guide 2
Fonts in HTML
HTML Lists
Table Tutor 1
Table Tutor 2
HTMLfx
HTML Special Characters
HTML Editors
Animation and HTML
XHTML - The Bare Facts
Sections

Commniquè
Sign Guestbook!
Read Guestbook!
MailMe!

Using Animations in HTML

Using GIF Animations

GIF animations can be put in HTML document using ordinary <IMG> tag:-
<IMG SRC="path/to/gif" WIDTH=# HEIGHT=#>

Using Other Animation Formats

For displaying videos you should not use the <IMG> tag. Instead you should use the <EMBED> tag:-
<EMBED SRC="path/to/video" WIDTH=# HEIGHT=#>

Tips:Usually videos are huge in size. So it takes a while to download. Thus it is always a good practice to load these animations with the permission of the user:-
<A HREF="path/to/file/containing/video">Click Here to View Video</a>
Also always give the URL where the user can find the required plugin for playing the animation file. Some common sites are:
QuickTime Movieswww.quicktime.com
Real Mediawww.real.com
Windows Mediawww.windowsmedia.com
Flash & Shockwavewww.macromedia.com


User Comments

Add Comment

[Quick Stats: Number of main threads: 1, Number of sub-threads: 0]


Sign Guestbook | Who is Subhash?
The contents of this site are copyright© 2000-2008, indiWiz.com. All Rights Reserved.