How to send data from a sign up form to a server using only HTML; | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

How to send data from a sign up form to a server using only HTML;

I want to use this and send the data to a server : <html> <head></head> <body> <form action="url" method="GET"> <label for="name">First Name</label> <input type="text" required name="name"/> </br> <label for="name">Second Name</label> <input type="text" required name="name"/> </br> <label for="e-mail">email</label> <input required type="text" name="email"/> </br> <label for="password">password</label> <input required type="text" name="password"/> <input type="submit" value="Submit"> </body> </html>

10th Jun 2018, 8:22 PM
Tassos Kotsadam
Tassos Kotsadam - avatar
2 Réponses
+ 3
Use POST method. Your form is open also
10th Jun 2018, 10:30 PM
Toni Isotalo
Toni Isotalo - avatar
+ 2
You need a back-end language like PHP to capture the user data.
11th Jun 2018, 3:46 PM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar