1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+
4+ < head >
5+ < meta charset ="UTF-8 ">
6+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
7+ < title > Responsive Registration Form</ title >
8+ < link rel ="stylesheet " href ="style.css ">
9+ </ head >
10+
11+ < body >
12+
13+ < section class ="container ">
14+
15+ < header > Registration Form</ header >
16+
17+ < form action ="# " class ="form ">
18+
19+ < div class ="input-box ">
20+ < label > Full Name</ label >
21+ < input type ="text " placeholder ="Enter full name " required >
22+ </ div >
23+
24+ < div class ="input-box ">
25+ < label > Email Address</ label >
26+ < input type ="text " placeholder ="Enter email address " required >
27+ </ div >
28+
29+ < div class ="column ">
30+
31+ < div class ="input-box ">
32+ < label > Mobile Number</ label >
33+ < input type ="number " placeholder ="Enter mobile number " required >
34+ </ div >
35+
36+ < div class ="input-box ">
37+ < label > Birth Date</ label >
38+ < input type ="date " required >
39+ </ div >
40+
41+ </ div >
42+
43+ < div class ="gender-box ">
44+
45+ < h3 > Gender</ h3 >
46+
47+ < div class ="gender-option ">
48+
49+ < div class ="gender ">
50+ < input type ="radio " id ="check-male " name ="gender ">
51+ < label for ="check-male "> Male</ label >
52+ </ div >
53+
54+ < div class ="gender ">
55+ < input type ="radio " id ="check-female " name ="gender ">
56+ < label for ="check-female "> Female</ label >
57+ </ div >
58+
59+ < div class ="gender ">
60+ < input type ="radio " id ="check-other " name ="gender ">
61+ < label for ="check-other "> Prefer not to say</ label >
62+ </ div >
63+
64+ </ div >
65+
66+ </ div >
67+
68+ < div class ="input-box address ">
69+
70+ < label > Address</ label >
71+ < input type ="text " placeholder ="Enter street address " required >
72+ < input type ="text " placeholder ="Enter street address line 2 " required >
73+
74+ < div class ="column ">
75+
76+ < div class ="select-box ">
77+ < select >
78+ < option hidden > Country</ option >
79+ < option > India</ option >
80+ < option > America</ option >
81+ < option > Russia</ option >
82+ < option > Australia</ option >
83+ </ select >
84+
85+ </ div >
86+
87+ < input type ="text " placeholder ="Enter your city " required >
88+
89+ </ div >
90+
91+ < div class ="column ">
92+
93+ < input type ="text " placeholder ="Enter your region " required >
94+ < input type ="number " placeholder ="Enter postal code " required >
95+
96+ </ div >
97+
98+ </ div >
99+
100+ < button > Submit</ button >
101+
102+ </ form >
103+
104+ </ section >
105+
106+ </ body >
107+
108+ </ html >
0 commit comments