Media Embedding

Recent enhancements to HTML mean that now almost any type of file can be embedded into a HTML document. The <APPLET> element allows the inclusion of Java applets; the <OBJECT> allows the inclusion of ActiveX controls and other objects; <BGSOUND> and <SOUND> allow for the inclusion of sound files in documents and the <EMBED> facilitates the embedding of almost any file type by the Netscape plug-in method. The inclusion of non-textual media into HTML documents has come a long way since HTML 2.0

Also, the <IMG> element has undergone a large enhancement since HTML 2.0. This is due to the <IMG> element being probably the second most important mark up element (behind the Anchor element) as it handles nearly all image embedding in HTML documents.

The attributes commonly supported by the <IMG> element have had some recent additions to allow Client side Image Maps, embedded In-line video clips and also embedded In-line VRML worlds

A note about formats.
Netscape and Mosaic (and most other browsers) will only support use of .GIF and .JPG images ( Netscape also supports progressive JPEG images) within HTML documents. This can be extended with Netscape, by embedding image formats within pages, providing the format is one that the user will have software to handle installed on their system, or they have a plug-in module specifically to handle that type of image (see <EMBED>).

The Internet Explorer though, will allow the use .GIF, .JPG, progressive JPEG images, .PNG (portable network graphics) images and also .BMP files, giving the author a wider variety of image formats from which to choose.

Netscape and Internet Explorer now fully support the GIF89a format, which means that multi-image GIF files can be used to create animation sequences. Users are encouraged to seek out the GIF Construction Kit for more details and tools for the preparation of multi-image GIF files.

The 'non-dithering palette'
As described in the <BODY> topic, both Netscape and Internet Explorer will dither graphics that don't use the 'non-dithering palette' for their colour scheme. For more information on the colour options supplied by the 'non-dithering palette', see the relevant section in the <BODY...> topic.