FORM
The FORM element is used to delimit the form . There can be several
forms in a single document, but the FORM element can't be nested.
Example
<TITLE>Sample Questionaire</TITLE>
<H1>Sample Questionaire</H1>
Please fill out this questionaire:
<FORM METHOD="post" ACTION="http://www.hal.com/sample">
<P>Your name: <input name="name" size="48">
<P>Male <input name="male" type=radio>
<P>Female <input name="female" type=radio>
Number in family: <input name="family" type=int>
<P>Cities in which you maintain a residence:
<UL>
<LI>Kent <input name="city" type=checkbox value="kent">
<LI>Miami <input name="city" type=checkbox value="miami">
<LI>Other <textarea name="other" cols=48 rows=4></textarea>
</UL>
Nickname: <INPUT NAME="nickname" size ="42">
<P>Thank you for responding to this questionaire.
<P ALIGN=CENTER><INPUT TYPE=SUBMIT> <INPUT TYPE=RESET>
</FORM>
Content
- #PCDATA
- a -- Anchor; source and/or destination of a link
- address -- Address, signature, or byline for document or passage
- b -- Bold text
- blockquote -- Quoted passage
- br -- Line break
- cite -- Name or title of cited work
- code -- Source code phrase
- dir -- Directory list
- dl -- Definition list, or glossary
- em -- Emphasized phrase
- form -- Fill-out or data-entry form
- h1 -- Heading, level 1
- h2 -- Heading, level 2
- h3 -- Heading, level 3
- h4 -- Heading, level 4
- h5 -- Heading, level 5
- h6 -- Heading, level 6
- hr -- Horizontal rule
- i -- Italic text
- img -- Image; icon, glyph or illustration
- isindex -- Document is a searchable index
- kbd -- Keyboard phrase, e.g. user input
- listing -- Computer listing
- menu -- Menu list
- ol -- Ordered, or numbered list
- p -- Paragraph
- pre -- Preformatted text
- samp -- Sample text or characters
- strong -- Strong emphasis
- tt -- Typewriter text
- ul -- Unordered list
- var -- Variable phrase or substitutable
- xmp -- Example section
Inclusions
Exclusions
- form -- Fill-out or data-entry form
- Tag Minimization
-
Open Tag: REQUIRED
Close Tag: REQUIRED
See ATTRIBUTES
See CONTENT DECLARATION
Parent Elements
- blockquote -- Quoted passage
- body -- Document body
- dd -- Definition of term
- li -- List item
Top Element List
All Element List
Tree
HTML 2.0 DTD