Attribute for <IMG ...>
NAME = "text string"

See also Rollover Images
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

rollover images

For more about rollovers see Rollover Images.





About the Author
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.