Pls I need a HTML code that can retrieve information from someone | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Pls I need a HTML code that can retrieve information from someone

Retrieve

18th Sep 2022, 2:30 PM
Sheriff yahaya
Sheriff yahaya - avatar
3 Answers
+ 4
Then you need to write that code! Have a look at the lessons 42 and 43 of the html course. For more on input, try to google "html input" or "html form". Sololearn is not a code writing service. If you already have some code and would like us to check on it, please link your code.
18th Sep 2022, 2:41 PM
Lisa
Lisa - avatar
+ 4
Sheriff yahaya can you be a bit more specific as you are asking about HTML but you can't hack NASA or get someone's information using HTML .. HTML is browser declarative language not a programming language such as javascript and hundreds of others. And no.. No one is just going to give you their code. You are here to learn I hope
18th Sep 2022, 11:13 PM
BroFar
BroFar - avatar
+ 1
Yes you can use a form to retrieve info from the user. <!DOCTYPE html> <html> <body> <h2>Basic form</h2> <form action=""> <label for="fname">First name:</label><br> <input type="text" id="fname" name="fname" value="Sheriff"><br> <label for="lname">Last name:</label><br> <input type="text" id="lname" name="lname" value="yahaya"><br><br> <input type="submit" value="Submit"> </form> </body> </html>
20th Sep 2022, 8:07 PM
Chris Coder
Chris Coder - avatar