HyperText Markup Language/Tag List/form

UseEdit

This lets the user create a form. This element lets the web page owner gather information from the users.

For a brief introduction, see the HyperText Markup Language/Forms section of this book.

ExampleEdit

<form method="post" action="SignIn.php">
<input type="text" name="UserName" size="6">
<input type="password" name="Password" size="6">
</form>

Required attributesEdit

methodEdit

Specifies how information from a form transfers to a Web Server.

actionEdit

Identifies the Web Page or CGI that the information from the form is to be sent.

Optional attributesEdit

classEdit

Associated CSS classes.

idEdit

A string that will be unique throughout the page.

langEdit

The ISO language code.

onresetEdit

A declared script that is run before a form's data is erased.

onSubmitEdit

A declared script that is run before a form is submitted.

styleEdit

Inline CSS commands.

titleEdit

Advisory title.

Standard attributesEdit

More infoEdit

A link to a page with more info, then the name of the site the info came from (i.e. W3Schools).