Advanced HTML: Objects
In addition to images, it is possible to put (almost) arbitrary other objects on Web pages. The only constraint is that the browser must be able to do something with it at the other end. The limitations of a browser such as Netscape are, however, reduced by their ability to accept Plug-Ins: other pieces of software that will deal with file types (e.g., movies and sound) that might be embedded in a page. Note that embedded sound and movies, etc., is not part of standard HTML---therefore, not all browsers will support all of the tags and methods for incorporating sound and movies. As an example, Microsoft's Internet Explorer uses some Different tags to do this than Netscape.
A tag to include objects is
Examples:
- embed
- embed an object in a web page:
- <embed src="source_file" attributes>
Another attribute of the embed tag is loop: loop=true will cause the object to repeat endlessly...
- Embedding a background sound file called cut1.wav:
- <embed src="images/cut1.wav" autostart=true controls=false volume="100%">
- Embedding a console to allow people to play the sound at their whim:
- <embed src="images/cut1.wav" autostart=false controls=console height=60 width=145 volume="100%">
Among the things that might be embedded are: Quick Time movies, sound files (one archive site), etc. The one disadvantage of embedding objects is that for the person who is browsing the page to be able to appreciate them, they must be using a browser that supports the appropriate plug-in, and must have the plug-in.
Another way of introducing animation to web pages is through animated gifs, as shown with the crude example to the right. (If it has stopped animating, press the Reload button on your browser.) These are actually easy to make with such tools as (for Mac) GifBuilder, (for Win95) Gif construction set, or (for UNIX) GIFMerge.
[advhtml] [colors] [reuse] [valid] [images] [objects] [imaps] [tables] [frames] [forms]
[title]
[objectives]
[www uses]
[the works]
[basic html]
[adv html]
[editors]
[resources]
[feedback]
last modified (( Wed Jun 25 10:49:26 CDT 1997 ))
HTML/WWW Wkshop: Adv HTML-Objects
©1997 Gavin LaRose
Comments to: glarose@NebrWesleyan.edu