Images and Objects
The <IMG> element has long existed as the way to embed images on your page. The HTML 4.0 <OBJECT> element
is intended to eventually replace the IMG element as it solves a number of accessibility and extensibility issues. However, the IMG element still offers
compatibility across most browsers so most of the time, the IMG element should still be used. The OBJECT element instead offers the ability
to embed different document types into your page.
In this section we are going to demonstrate using both the IMG element for embedding images, and the OBJECT element for embedding custom mime-types (eg., documents) into
your page.
Images and Image Maps...
|