Form Overview

Next ❯Form Action

To create forms inside your web page

  • Forms are the only way, that you can get information from the users
  • It helps to make user interactive web page
  • Syntax is below
<form>
<!-- Form elements are defined here-->
</form>
  • turned_in_notForm Sample Example
    <!DOCTYPE html>
    <html>
    <head><title>User Form Example</title></head>
    <body>
    <form >
    First name: <input type="text" name="first_name" /><br>
    Last name: <input type="text" name="last_name" /><br>
    <input type="submit" value="Submit">
    </form>
    </body>
    </html>

    You get OUTPUT:

    • Alert! You will get above output, because of not using css So, don't get confuse

    OUTPUT:

    First name:
    Last name:
Browsers Supports
SafariMicrosoft EdgeMozilla FirefoxChromeOpera Mini

Click on the above icon to see the name of the browser !

  • Tips! Always try to use latest version of browser

  • Form Action
❮ Prev Frame Tag
Next ❯Form Action
TryOut Examples"Learn to Explore..!"

TryOut Editor

receipt