HyperText Markup Language/Tag List/form
From Wikibooks, the open-content textbooks collection
Contents |
[edit] Use
This lets the user create a form. This element lets the web page owner gather information from the users.
[edit] Example
<form method="post" action="SignIn.php"> <input type="text" name="UserName" size="6"> <input type="password" name="Password" size="6"> </form>
[edit] Required attributes
[edit] method
Specifies how information from a form transfers to a Web Server.
[edit] action
Identifies the Web Page or CGI that the informaton from the form is to be sent.
[edit] Optional attributes
[edit] class
Associated CSS classes.
[edit] id
A string that will be unique throughout the page.
[edit] lang
The ISO language code.
[edit] onreset
A declared script that is run before a form's data is erased.
[edit] onSubmit
A declared script that is run before a form is submitted.
[edit] style
Inline CSS commands.
[edit] title
Advisory title.
[edit] Standard attributes
[edit] method
[edit] action
[edit] More info
A link to a page with more info, then the name of the site the info came from (i.e. W3Schools).