Welcome to all my readers! I hope you are fine. Today, I will show you how to create a simple registration form in HTML CSS.
After reading this article, I hope you know how to create a Simple Registration From HTML CSS. After that, you can build a good form like this.
This is a simple form, not a responsive form. This form view is the same in both Windows and Mobiles. If you are in search of a responsive form. Please Checkout the given link below.
Related Article: Responsive Registration Form in HTML with CSS Source Code
Let's Start to build the simple registration form.
First, Open your HTML Editor and Write a simple syntax for the HTML and CSS. Then go to between the <body> </body> section and create a div with the class name "container". In the Container div, create a div for the form title with the class name "title". Then insert a <hr> tag below the form title div. After that next step is to create a div for the form with the class name "form" and then insert a <form> tag in it.
Create two div in the <form> tag, the first div with the class name "details" for input fields and labels and the second div for gender radio buttons.
Into the details div, you need to insert a div with the class name " input-field" for the label and input field.
Gender div is used to store the gender information of the user. The last div is inserted in the <form> tag which is used for the Register button.
Second, Copy the CSS code that is given below and paste it into the <style></style> tag. If you want to use the 'Poppins Font' then copy this link (<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap">) and paste it into the <head> tag.
If you do not understand anything then simply copy the below code and paste it into the HTML file and enjoy the simple registration form.