0

How to use forms ?

I am learning how to use <form> in HTML, I was practicing to code the example but when I ran the website just appear to me two blank boxes, but in the first one I cannot see the word 'username' and the second one works well. This is the code that I have in the body section: <body> <form class="text" method="get"> <input type="text" name="username" /><br /> <input type="password" name="password" /> </form> </body> I haven't been able to know what is wrong or how I can find the error? Thanks for your help.

2nd Jan 2021, 9:36 PM
Luisa Fernanda Bautista
Luisa Fernanda Bautista - avatar
1 Respuesta
+ 1
You can use form in website to create login page but php and a webserver are required.For simple use you can just create a simple HTML page with javascript for client side purposes look in myhttps://code.sololearn.com/WG90I2tz938d/?ref=app code here it is yours adapted ...
2nd Jan 2021, 9:56 PM
HBhZ_C
HBhZ_C - avatar