Attribute for <IMG ...>
NAME = "text string"
NAME
is used primarily by scripting.
NAME
gives the image a unique
name.
For example, the following code creates a rollover image. The image is named
"starflower" for identification by the rollover script:
<A
HREF="images_famsupp_59.html"
onMouseOver = "rollover('starflower')"
onMouseOut = "rollout('starflower')"
><IMG SRC="../graphics/rollover_out.gif"
ALT="rollover images" BORDER=0
HEIGHT=130 WIDTH=115
NAME="starflower"
></A>
<SCRIPT TYPE="text/javascript">
<!--
setrollover("../graphics/rollover_over.gif");
//-->
</SCRIPT>
which gives us this image
For more about rollovers see Rollover Images.