• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 9. Forms > The <form> Tag

9.2. The <form> Tag

Place a form anywhere inside the body of a document with its elements enclosed by the <form> tag and its respective end tag </form>. You can, and we recommend you often do, include regular body content inside a form to specially label user-input fields and to provide directions.

Sidebar 1. <form>


Function:

Defines a form


Attributes:

ACCEPT
ACCEPT-CHARSETONKEYPRESS
ACTIONONKEYUP
CLASSONMOUSEDOWN
DIRONMOUSEMOVE
ENCTYPEONMOUSEOUT
IDONMOUSEOVER
LANG ONMOUSEUP
METHODONRESET
NAMEONSUBMIT
ONCLICKSTYLE
ONDBLCLICKTARGET
ONKEYDOWNTITLE



End tag:

</form>; never omitted


Contains:

form_content


Used in:

block



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint