Unit 3 Summary |
Tag | Attribute | Function |
<IMG> | | Inserts an inline image into the document. |
| ISMAP | This image is a clickable image map. |
| SRC="..." | The URL of the image |
| USEMAP="..." | The name of an image map specification for client-side image mapping. Used with <MAP> and <AREA>. |
| WIDTH="..." | The width, in pixels, of the image. If WIDTH is not the actual width, the image is scaled to fit. |
| HEIGHT="..." | The height, in pixels, of the image. If HEIGHT is not the actual height, the image is scaled to fit. |
<MAP> ... </MAP> |
| A client-side image map, referenced by <IMG USEMAP="...">. Includes one or more <AREA> tags. |
<AREA> | | Defines a clickable link within a client-side image map. |
| SHAPE="..." | The shape of the clickable area. Currently, rect, poly, and circle (or round) are the valid options. |
| COORDS="..." | The left, top, right, and bottom coordinates of the clickable region within an image. |
| HREF="..." | The URL that should be loaded when the area is clicked. |