Help Us Help You

This website and it's tutorials are only made possible with your support. Support money goes towards keeping our servers online and paying staff members.

Form Tag

The <form> tag will create a form on your page.

<form method="post" action="someScript.php">
   Your name:  <input type="text" name="name"><br>
   <input type="submit">


  • action - Location of the form processing script.
  • autocomplete - Should the form auto complete fields.
    • on
    • off
  • enctype - Defines how the form should be encoded by the processing script.
    • application/x-www-form-urlencoded
    • multipart/form-data
    • text/plain
  • method - HTTP method used to send the form data.
    • get
    • post
  • name - The name of the form
  • target - Where the form should submit to.
    • _blank
    • _self
    • _parent
    • _top

Copyright 2016 Step By Step HTML. All Rights reserved.