This article covers the topic of HTML Code for Registration Form. In this article, you will learn to create two separate registration forms in HTML using TABLE.
Registration form in HTML with source code
Two types of forms we will learn in this articles are:
- Student Registration Form
- Employment Registration Form
1. Student Registration form in HTML using table
As we all have filled the student registration form during admission or registration and we know the basics knowledge of what question field it contains. So we will create a basic type form and once you understand it you can modify it as needed. Each field in code is commented to make you understand easily.
Example of Student Registration form in HTML using the table:
HTML Code for student Registration Form:
source code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 | <html> <head> <title>Student Registration Form</title> </head> <body bgcolor ="lightblue"> <h1 align = "left">STUDENT REGISTRATION FORM</h1> <table align="left" cellpadding = "2"> <!-- NAME OF THE APPLICANT --> <tr> <td>FIRST NAME:</td> <td><input type="text" name="First_Name" maxlength="30"/> </td> </tr> <tr> <td>LAST NAME:</td> <td><input type="text" name="Last_Name" maxlength="30"/> </td> </tr> <!-- DATE of BIRTH INFO --> <tr> <td>DATE OF BIRTH</td> <td> <select name="Birthday_day" id="Birthday_Day"> <option value="-1">Day:</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> <option value="13">13</option> <option value="14">14</option> <option value="15">15</option> <option value="16">16</option> <option value="17">17</option> <option value="18">18</option> <option value="19">19</option> <option value="20">20</option> <option value="21">21</option> <option value="22">22</option> <option value="23">23</option> <option value="24">24</option> <option value="25">25</option> <option value="26">26</option> <option value="27">27</option> <option value="28">28</option> <option value="29">29</option> <option value="30">30</option> <option value="31">31</option> </select> <select id="Birthday_Month" name="Birthday_Month"> <option value="-1">Month:</option> <option value="January">Jan</option> <option value="February">Feb</option> <option value="March">Mar</option> <option value="April">Apr</option> <option value="May">May</option> <option value="June">Jun</option> <option value="July">Jul</option> <option value="August">Aug</option> <option value="September">Sep</option> <option value="October">Oct</option> <option value="November">Nov</option> <option value="December">Dec</option> </select> <select name="Birthday_Year" id="Birthday_Year"> <option value="-1">Year:</option> <option value="2012">2012</option> <option value="2011">2011</option> <option value="2010">2010</option> <option value="2009">2009</option> <option value="2008">2008</option> <option value="2007">2007</option> <option value="2006">2006</option> <option value="2005">2005</option> <option value="2004">2004</option> <option value="2003">2003</option> <option value="2002">2002</option> <option value="2001">2001</option> <option value="2000">2000</option> <option value="1999">1999</option> <option value="1998">1998</option> <option value="1997">1997</option> <option value="1996">1996</option> <option value="1995">1995</option> <option value="1994">1994</option> <option value="1993">1993</option> <option value="1992">1992</option> <option value="1991">1991</option> <option value="1990">1990</option> <option value="1989">1989</option> <option value="1988">1988</option> <option value="1987">1987</option> <option value="1986">1986</option> <option value="1985">1985</option> <option value="1984">1984</option> <option value="1983">1983</option> <option value="1982">1982</option> <option value="1981">1981</option> <option value="1980">1980</option> </select> </td> </tr> <!-- GENDER --> <tr> <td>GENDER:</td> <td> Male <input type="radio" name="Gender" value="Male" /> Female <input type="radio" name="Gender" value="Female" /> </td> </tr> <!-- ADDRESS --> <tr> <td>ADDRESS:<br /><br /><br /></td> <td><textarea name="Address" rows="4" cols="30"></textarea></td> </tr> <!-- CITY --> <tr> <td>DISTRICT:</td> <td><input type="text" name="City" maxlength="30" /> </td> </tr> <!-- CITY --> <tr> <td>CITY:</td> <td><input type="text" name="City" maxlength="30" /> </td> </tr> <!-- PINCODE --> <tr> <td>PIN CODE:</td> <td><input type="text" name="Pin_Code" maxlength="6" /> (6 digit number) </td> </tr> <!-- STATE --> <tr> <td>STATE:</td> <td><input type="text" name="State" maxlength="30" /> </td> </tr> <!-- COUNTRY --> <tr> <td>COUNTRY:</td> <td><input type="text" name="Country" value="" readonly="readonly" /></td> </tr> <!-- EMAIL ID and MOBILE NUMBER --> <tr> <td>EMAIL ID:</td> <td><input type="text" name="Email_Id" maxlength="100" /></td> </tr> <tr> <td>MOBILE NUMBER:</td> <td> <input type="text" name="Mobile_Number" maxlength="10" /> (Enter 10 digit number) </td> </tr> </table> <table align="left" cellpadding = "2"> <!-- ENTER APPLICANT QUALIFICATION --> <tr> <td><br>QUALIFICATION DETAILS:</td> </tr> <tr> <td> <table> <tr> <td align="center"><b>Sl.No.</b></td> <td align="center"><b>Examination</b></td> <td align="center"><b>Name of the Board</b></td> <td align="center"><b>Marks Obtained</b></td> <td align="center"><b>Year of Passing</b></td> <td align="center"><b>Percentage</b></td> </tr> <tr> <td>1</td> <td>Class X:</td> <td><input type="text" name="BoardName" maxlength="30" /></td> <td><input type="text" name="MarksObtained" maxlength="30" /></td> <td><input type="text" name="YearrOfPassing" maxlength="30" /></td> <td><input type="text" name="percentage" maxlength="30" /></td> </tr> <tr> <td>2</td> <td>Class XII:</td> <td><input type="text" name="BoardName" maxlength="30" /></td> <td><input type="text" name="MarksObtained" maxlength="30" /></td> <td><input type="text" name="YearrOfPassing" maxlength="30" /></td> <td><input type="text" name="percentage" maxlength="30" /></td> </tr> <tr> <td>3</td> <td>Graduation:</td> <td><input type="text" name="BoardName" maxlength="30" /></td> <td><input type="text" name="MarksObtained" maxlength="30" /></td> <td><input type="text" name="YearrOfPassing" maxlength="30" /></td> <td><input type="text" name="percentage" maxlength="30" /></td> </tr> <tr> <td>4</td> <td>Masters:</td> <td><input type="text" name="Masters_Board" maxlength="30" /></td> <td><input type="text" name="Masters_Percentage" maxlength="30" /></td> <td><input type="text" name="ClassX_YrOfPassing" maxlength="30" /></td> <td><input type="text" name="Masters_YrOfPassing" maxlength="30" /></td> </tr> </table> </td> </tr> <!-- COURSE applying for --> <tr> <td><br>COURSES APPLIED FOR: B.Sc <input type="radio" name="Course_BCA" value="BCA"> B.Com <input type="radio" name="Course_BCom" value="B.Com"> BA <input type="radio" name="Course_BSc" value="B.Sc"> BCA <input type="radio" name="Course_BA" value="B.A"> </td> </tr> <!-- SUBMIT and RESET BUTTON --> <tr> <td colspan="2" align="center"> <input type="submit" value="Submit"> <input type="reset" value="Reset"> </td> </tr> </table> </form> </body> </html> |
2. Employment Registration form in HTML using table
The employment registration form contains detail fields that we will see how to code in HTML.
Example of Employment Registration form in HTML using the table:
HTML Code for Employment Registration Form:
source code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 | <html> <head> <title>Employment Registration Form</title> </head> <body bgcolor ="lightblue"> <h1 align = "left">EMPLOYMENT REGISTRATION FORM</h1> <table align="left" cellpadding = "2"> <!-- NAME OF THE APPLICANT --> <tr> <h3>Personal Details</h3> </tr> <tr> <td>FIRST NAME:</td> <td><input type="text" name="First_Name" maxlength="30"/> </td> </tr> <tr> <td>LAST NAME:</td> <td><input type="text" name="Last_Name" maxlength="30"/> </td> </tr> <!-- DATE of BIRTH INFO --> <tr> <td>DATE OF BIRTH</td> <td> <select name="Birthday_day" id="Birthday_Day"> <option value="-1">Day:</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> <option value="13">13</option> <option value="14">14</option> <option value="15">15</option> <option value="16">16</option> <option value="17">17</option> <option value="18">18</option> <option value="19">19</option> <option value="20">20</option> <option value="21">21</option> <option value="22">22</option> <option value="23">23</option> <option value="24">24</option> <option value="25">25</option> <option value="26">26</option> <option value="27">27</option> <option value="28">28</option> <option value="29">29</option> <option value="30">30</option> <option value="31">31</option> </select> <select id="Birthday_Month" name="Birthday_Month"> <option value="-1">Month:</option> <option value="January">Jan</option> <option value="February">Feb</option> <option value="March">Mar</option> <option value="April">Apr</option> <option value="May">May</option> <option value="June">Jun</option> <option value="July">Jul</option> <option value="August">Aug</option> <option value="September">Sep</option> <option value="October">Oct</option> <option value="November">Nov</option> <option value="December">Dec</option> </select> <select name="Birthday_Year" id="Birthday_Year"> <option value="-1">Year:</option> <option value="2006">2006</option> <option value="2005">2005</option> <option value="2004">2004</option> <option value="2003">2003</option> <option value="2002">2002</option> <option value="2001">2001</option> <option value="2000">2000</option> <option value="1999">1999</option> <option value="1998">1998</option> <option value="1997">1997</option> <option value="1996">1996</option> <option value="1995">1995</option> <option value="1994">1994</option> <option value="1993">1993</option> <option value="1992">1992</option> <option value="1991">1991</option> <option value="1990">1990</option> <option value="1989">1989</option> <option value="1988">1988</option> <option value="1987">1987</option> <option value="1986">1986</option> <option value="1985">1985</option> <option value="1984">1984</option> <option value="1983">1983</option> <option value="1982">1982</option> <option value="1981">1981</option> <option value="1980">1980</option> </select> </td> </tr> <!-- GENDER --> <tr> <td>GENDER:</td> <td> Male <input type="radio" name="Gender" value="Male" /> Female <input type="radio" name="Gender" value="Female" /> </td> </tr> <!-- ADDRESS --> <tr> <td><h3><br>Permanent Address</h3><td> </tr> <tr> <td>ADDRESS:<br /><br /><br /></td> <td><textarea name="Address" rows="4" cols="30"></textarea></td> </tr> <!-- CITY --> <tr> <td>DISTRICT:</td> <td><input type="text" name="City" maxlength="30" /> </td> </tr> <!-- CITY --> <tr> <td>CITY:</td> <td><input type="text" name="City" maxlength="30" /> </td> </tr> <!-- PINCODE --> <tr> <td>PIN CODE:</td> <td><input type="text" name="Pin_Code" maxlength="6" /> (6 digit number) </td> </tr> <!-- STATE --> <tr> <td>STATE:</td> <td><input type="text" name="State" maxlength="30" /> </td> </tr> <!-- COUNTRY --> <tr> <td>COUNTRY:</td> <td><input type="text" name="Country" value="" readonly="readonly" /></td> </tr> <!-- EMAIL ID and MOBILE NUMBER --> <tr> <td>EMAIL ID:</td> <td><input type="text" name="Email_Id" maxlength="100" /></td> </tr> <tr> <td>MOBILE NUMBER:</td> <td> <input type="text" name="Mobile_Number" maxlength="10" /> (Enter 10 digit number) </td> </tr> </tr> <!-- SKILLS --> </table> <table align="left" cellpadding = "2"> <!-- ENTER APPLICANT QUALIFICATION --> <tr> <td><br><h3>QUALIFICATION DETAILS:</h3></td> </tr> <tr> <td> <table> <tr> <td align="center"><b>Sl.No.</b></td> <td align="center"><b></b></td> <td align="center"><b>Name and Location</b></td> <td align="center"><b>Degree</b></td> <td align="center"><b>Major</b></td> <td align="center"><b>Percentage</b></td> </tr> <tr> <td>1</td> <td>Class XII:</td> <td><input type="text" name="name and location" maxlength="30" /></td> <td><input type="text" name="Degree" maxlength="30" /></td> <td><input type="text" name="Major" maxlength="30" /></td> <td><input type="text" name="Percentage" maxlength="30" /></td> </tr> <tr> <td>2</td> <td>Graduation</td> <td><input type="text" name="name and location" maxlength="30" /></td> <td><input type="text" name="Degree" maxlength="30" /></td> <td><input type="text" name="Major" maxlength="30" /></td> <td><input type="text" name="Percentage" maxlength="30" /></td> </tr> <tr> <td>3</td> <td>Masters:</td> <td><input type="text" name="name and location" maxlength="30" /></td> <td><input type="text" name="Degree" maxlength="30" /></td> <td><input type="text" name="Major" maxlength="30" /></td> <td><input type="text" name="Percentage" maxlength="30" /></td> </tr> </table> </td> </tr> <tr> <td><h4><br>Other SKills</h4> <input type="text" name="Other skills" maxlength="30" /></td> </tr> <!-- COURSE applying for --> <tr> <td><br><h4>Applying for the Post:</h4> Clerk <input type="radio" name="Course_BCA" value="BCA"> Management Work <input type="radio" name="Course_BCom" value="B.Com"> Assistant <input type="radio" name="Course_BSc" value="B.Sc"> Assistant manager <input type="radio" name="Course_BA" value="B.A"> </td> </tr> <!-- SUBMIT and RESET BUTTON --> <tr> <td colspan="2" align="center"> <input type="submit" value="Submit"> <input type="reset" value="Reset"> </td> </tr> </table> </form> </body> </html> |