Name

<input>

Synopsis

<input type=image>

Description

Create an image input element within a <form>.

Attributes

accesskey=char

Define the hot-key character for this element.

align=type

Align the image to either the top, middle, or bottom of the form element’s text.

alt=string

Provide a text description for the image.

border=n

Set the pixel thickness of the border of the image.

disabled

Disable this control, making it inactive.

name=string

Specify the name of the parameter to be passed to the form-processing application for this input element (required).

notab

Attributes

Specify that this element is not part of the tabbing order.

src=url

Specify the source URL of the image (required).

tabindex=n

Specify this element’s position in the tabbing order.

taborder=n

Attributes

Specify this element’s position in the tabbing order.

usemap=url

Specify the URL of a map to be used with this image.

See Chapter 6 for more information on using forms.

Get Webmaster in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.