Make Your First HTML Form - Easy Explanation (2021) - YouTube

Channel: Code And Coins

[11]
[Music]
[12]
Hello Programmer, Myself Nawaraj Shah
[13]
And in this video I gonna help you to make a simple registration form just using html
[17]
code at first open your html editor I suggest you to use sublime text then create a new
[24]
file and save this file on dot html extension Now I gonna write a basic html format if you
[36]
are using sublime text then type angle bracket html then press enter other wise you have
[45]
to type all this code I gonna a write register form in between title now to create a form
[51]
type form tag in body type table tag in between form create first row with tr and td for table
[66]
data where we put name and input field now first I gonna write name again type td then
[77]
type a following code <input type="text"> again type tr for password field then type
[89]
td and password td again for input field of password now write a following code input
[101]
type ="password" lets see how its done here you can see form only content name and password
[112]
lets type some additional code for input box type place holder = Name for password field
[124]
placeholder = Password here you can see the changes after adding placeholder code Now
[135]
add a code for gender for that we have to write tr and td again then write gender create
[144]
another td to choose male or female write input type = radio and name = gender after
[153]
that type male then type same code for female also after that type tr and td again for email
[168]
now type input type = email then type td and write following code lets see how its done
[179]
I forget placeholder for email just write placeholder = email
[195]
now it look little better now write tr and td for phone number after
[211]
that I gonna write td for the list of country code and write select tag and option tag where
[230]
you can write a country code now select this line of code and copy and paste it 4 or 5 time
[251]
now replace 977 with another country code
[260]
now write following code for phone number input type = phone
[266]
and placeholder = as you can see on the above lets see how its done.
[278]
here you can see phone number with country code and input field for phone number is available
[282]
now at last tr and td for a submit button for a submit button write input type = submit
[296]
and value = submit finally save this and see the result is web browser here you can see
[305]
submit button is added if you have any question on this video then drop it on comment section
[311]
please like and share this video to your friend and don't forget to subscribe to my channel
[316]
thanks for watching this video