Code2night
  • Home
  • Guest Posts
  • Tutorial
  • Languages
  • Post Blog
  • Tools
    • JSON Beautifier
    • HTML Beautifier
    • XML Beautifier
    • CSS Beautifier
    • JS Beautifier
    • PDF Editor
    • Word Counter
    • Base64 Encode/Decode
    • Diff Checker
    • JSON to CSV
    • Password Generator
  • Register
  • Login
  1. Home
  2. Blogpost

Registration Form In HTML

Date- Dec 09,2023

3963

Creating an HTML registration form entails the use of numerous form elements, such as text inputs, radio buttons, checkboxes, and buttons. Here's a simple HTML registration form example:

<h1>REGISTRATION FORM</h1>

<form action="signIn.html">

Enter User Id: <input type=text size=40 maxlength=15 value="Enter UR name">

<p>

Enter Password: <input type=password>

<p>

Address: <textarea rows=4 cols=40></textarea>

<p>

Gender: <input type=radio name=gender checked>Male<input type=radio name=gender>Female

<p>

Hobbies: <input type=checkbox>C

         <input type=checkbox>C++

<input type=checkbox>Dot net

<input type=checkbox>C#

<input type=checkbox>JAVA

<p>

Select UR Qualification: <select>

                         <option>Middle</option>

<option>Metric</option>

<option>sr.sec</option>

<option>Graduate</option>

  <option>Master</option>

                          </select>

<p>

Select UR Qualification: <select size=3 multiple>

                         <option>Middle</option>

<option>Metric</option>

<option>sr.sec</option>

<option>Graduate</option>

  <option>Master</option>

                          </select>

  

<p>

Upload UR Picture: <input type=file>

<p>

<input type=hidden>

<p>

<input type=button value="cick me">

<input type=reset  value="Reset form">

<input type=submit value="submit">   

</form>


In this example:

  • a).The form is created using the <form> element.
  • b).Form elements like text inputs, radio buttons, checkboxes, a dropdown (select), and a textarea are used to collect user information.
  • c). The required attribute is added to ensure that the required fields are filled out.
  • d). The form's action attribute specifies the URL where the form data will be sent for processing (e.g., to a server script).









S
Shubham Saini
Programming author at Code2Night — sharing tutorials on ASP.NET, C#, and more.
View all posts →

Comments

Tags

AspNet
C#
programming
AspNet MVC
c programming
AspNet Core
C
software development
tutorial
MVC
memory management
Paypal
coding
coding best practices
data structures
programming tutorial
tutorials
object oriented programming
Slick Slider
StripeNet
Free Download for Youtube Subscribers!

First click on Subscribe Now and then subscribe the channel and come back here.
Then Click on "Verify and Download" button for download link

Subscribe Now | 1760
Download
Support Us....!

Please Subscribe to support us

Thank you for Downloading....!

Please Subscribe to support us

Continue with Downloading
Be a Member
Join Us On Whatsapp Join Us On Facebook
Code2Night

A community platform for sharing programming knowledge, tutorials, and blogs. Learn, write, and grow with developers worldwide.

Panipat, Haryana, India
info@code2night.com
Quick Links
  • Home
  • Blogs
  • Tutorials
  • About Us
  • Contact
  • Privacy Policy
  • Terms & Conditions
  • Guest Posts
Free Dev Tools
  • JSON Beautifier
  • HTML Beautifier
  • CSS Beautifier
  • JS Beautifier
  • Password Generator
  • QR Code Generator
  • Hash Generator
  • Diff Checker
  • Base64 Encode/Decode
  • Word Counter
By Language
© 2026 Code2Night. All Rights Reserved.
Made with for developers  |  Privacy  ·  Terms
Translate Page