Write a program to demonstrate an HTML Admission Form Example Using Form Tag.

1
2
    <html>
3
    <head>
4
        <title> form tag </TITLE>
5
    </HEAD>
6
    <BODY>
7
        <h1 align="center"><B><U>ADMISSION FORM</U></B></h1>
8
        <hr>
9
        <FORM>
10
            NAME <INPUT TYPE="TEXT" name="text1" SIZE="30"> <BR> <BR>
11
            FATHER'S NAME <INPUT TYPE="TEXT" name="text2" SIZE="30"><BR> <BR> CITY <INPUT TYPE="TEXT" name="text1"
12
                SIZE="15"> <BR> <BR>
13
            <hr>
14
            Select your Gender<BR> <BR>
15
            <INPUT TYPE="RADIO" name="OPTION" VLAUE="M" CHECKED> MAle<BR> <BR>
16
            <INPUT TYPE="RADIO" name="OPTION" VLAUE="F"> Female <BR> <BR>
17
            <hr>
18
            <select name="QUL">
19
                <Option value="10th">10th
20
                <Option value="10+2">10+2
21
                <Option value="BSC">BSC
22
                <Option value="MSC">MSC
23
            </select>Qualification<BR><br>
24
            <hr>
25
            <center>
26
                <INPUT TYPE="SUBMIT" VALUE="SUBMIT">
27
                <INPUT TYPE="RESET" VALUE="RESET">
28
                </cneter>
29
        </form>
30
    </body>
31
    </html>
32
    

Output

1
2
        No Output Available
3
        

Rate the Code

Reviews are published after a quick safety check (usually within 24 hours).

Reviews are public. Developers can see basic device specifications to respond. Learn more

Core Concept of HTML Admission Form Example Using the Form Tag

To collect data from the user, the <form> tag is used with various input field types like text, image, video, etc.

In this code, the different form controls are used:

  • <input type=”text”>: To enter the name, father’s name, and city details.
  • <input type=” radio”>: To select the gender, and with radio input, the user can select only one option.
  • <select> or <option>: To choose the qualification.
  • <input type =” submit”> and <input type=” reset”>: To send the form data to the server or reset all the filled form data.

Why is it used?

When you need to get information from the user, this form is used.

Real-life Applications

  • School & college admission portals: When the student fills in their personal and educational details.
  • Job application & Registration Forms: When applying for a job or new registration, this form tag and its form controls are used.
  • Contact us & Feedback pages: To contact any organization or get feedback on anything like a product or item, etc.

Key Benefits of this Program

  • Built-in Buttons: The form tag provides some built-in buttons like type=” submit” and type=” reset”.
  • User Interaction: With the help of forms, you can add more user interactions so you can fill in the relevant details.
License: This program's source code is open-sourced under the MIT License, while the rest of the program's text content and overall dhimanp platform and brand content remain proprietary under dhimanp.

Submit your modified code

Your submissions are published after a quick safety check (usually within 7 days).

Submissions are public. Developers can see basic device specifications to respond. Learn more

Disclaimer

The information that you shared with us will be publicly visible, and everyone can see your information. And we (dhimanp) are not responsible if anyone misuses this information. We can remove any submitted code at any time for better transparency.

Privacy Policy

If you share your data with us by submitting your code for credit, then we may show your full name, school or college name, and city name on our website.

We are not using this data to track you and are not selling this data to anyone.

If you want to remove your name from our website, you can contact us, and we will remove your name from our website. In the removal process, full credit, including your full name, school or college, city, and code, will be removed from our website.