www.toxicbug.com




Images


Images
<img src="image.gif">
  • SRC="..." - specifies the URL of the image
  • ALT="..." - text to display if browser does not support images
  • WIDTH="..." - force image width in pixels
  • HEIGHT="..." - force image height in pixels
  • BORDER="..." - specifies width of image border, 0 for no border
  • LOWSRC="..." - specifies URL of image to be loaded before the SRC, usally a smaller sized image
  • VSPACE="..." - space between the image and items above & below
  • HSPACE="..." - space between the image and items on the side of it
  • ALIGN="..." - specifies any special alignment of the image
    • choices = TOP, MIDDLE, BOTTOM, RIGHT, LEFT, TEXTTOP, ABSMIDDLE, ABSBOTTOM, BASELINE
  • USEMAP="#..." - uses a predefined clickable map
  • ISMAP - needed to use a map
 
Background Images
<body background="http://www.toxicbug.com/spacer.gif">...</body>

(See the "tags" category for more info on the body tag.)
 
Image Maps
<map name="MAPNAME">
<area>...</area>
<area>...</area>
</map>



<map name="MAPNAME">...</map>
  • name="..." - unique name for that map

<area>...</area>
  • SHAPE="..." - shape of clickable area
    • choices = RECT, RECTANGLE, CIRC, CIRCLE, POLY, POLYGON
  • COORDS="..." - coordinates in pixels of shape on image
    • for RECT = Topleft(x,y), Bottomright(x,y)
    • for CIRC = Center(x,y), Radius
    • for POLY = (x,y) for all points of shape
  • HREF="..." - specifies URL for that area
  • NOHREF="..." - specifies that area does nothing when clicked
  • TARGET="..." - specifies which window to load URL























www.toxicBug.com Resources

toxicbug.com v 4_3