Name

<form>

Synopsis

<form> ... </form>

Description

Delimit a form.

Attributes

accept-charset=list

Specify a list of character sets accepted by the server processing this form.

action=url

Specify the URL of the application that will process the form. The default is the current URL.

enctype=encoding

Specify how the form element values will be encoded.

method=style

Specify the parameter-passing style, either get or post. The default is get.

name=name

Attributes

Supply a name for this form for use by JavaScript.

onreset=applet

Specify an applet to be run when the form is reset.

onsubmit=applet

Specify an applet to be run when the form is submitted.

target=name

Specify the name of a frame or a window to receive the results of the form after submission.

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.