Learn HTML Code Tutorial Reference Guide

Attributes for <INPUT ...>
SRC = "image URL"
HEIGHT
WIDTH
ALT
HSPACE = integer
VSPACE = integer
ALIGN = LEFT | RIGHT | TOP | TEXTTOP | MIDDLE | ABSMIDDLE | CENTER | BOTTOM | ABSBOTTOM | BASELINE
LOWSRC = "URL"

When you use the image type of input, you can use many of the same attributes as with <IMG ...>, including:

  • SRC: the URL of the image
  • ALT: alternate text for those who do not display/see the picture. Netscape still does not support this attribute for <INPUT ...>, and MSIE only started doing so with the 4.0 release.
  • LOWSRC: the small bandwidth image to load before the main big image. If your submit buttons are so big you need this attribute, they are probably too big.
  • WIDTH and HEIGHT: dimensions of the image.
  • ALIGN: how surrounding text is aligned to the image (actually, the input image should generally be on its own line. Remember that the image is really a submit button, so it probably needs to stand out like a submit button).
  • VSPACE and HSPACE: how far surrounding text should be from the image.
  • BORDER: size of the border around the image. (see <INPUT BORDER="...">)
 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial