Tag Description
<form> The HTML <form> tag is used to create an HTML form for user input.
A form can contain input elements like text fields, checkboxes, radio-buttons, submit buttons and more. A form can also contain select menus, textarea, fieldset, legend and label elements.

Example:

HTML Code Display

<form action="somepage.asp">
    <p>
        First name: 
        <input type="text" name="FirstName"/>
        <br />
        
        Last name: 
        <input type="text" name="LastName"
               value="Mouse"/>
        <br /> 
        
        <input type="submit" value="Submit"/>
    </p>
</form>
                

First name:
Last name: