In <input> name attribute not show in codding output... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

In <input> name attribute not show in codding output...

What can I do?

24th Jan 2021, 7:52 AM
Aman Gorakh Budha
Aman Gorakh Budha - avatar
6 Answers
+ 3
name attribute is for the label tag to place a label for that input tag, also that name attribute is send to the server when you submit form, so don't get why you expect to see it in output.
24th Jan 2021, 7:54 AM
Abhay
Abhay - avatar
0
rather use the 'value' attribute to set textual content of your input ;)
24th Jan 2021, 8:03 AM
visph
visph - avatar
0
Hey stop that Nicholas! Aman Anos, show your attempt please... and specify it more
24th Jan 2021, 8:21 AM
Dino Wun (Use the search bar plz!)
Dino Wun (Use the search bar plz!) - avatar
0
Ok Dino Bro
28th Jan 2021, 11:23 AM
Aman Gorakh Budha
Aman Gorakh Budha - avatar
0
<!DOCTYPE html> <html> <head> <title>Dear Anos</title> </head> <body> <form action="http://www.sololearn.vom" method="GET"> <input type="text" name="Username"/><br /> <input type="Password" name="Password" /><br /> <h4>Login With Email id</h4> </form action="http://www.sololearn.com" method="POST"> <input type="text" name="email id"/><br /> <input type="Password" name="Password" /> </form> </body> </html>
28th Jan 2021, 11:25 AM
Aman Gorakh Budha
Aman Gorakh Budha - avatar
0
I got my mistake... Where I done. Thank you to all...
30th Jan 2021, 12:07 PM
Aman Gorakh Budha
Aman Gorakh Budha - avatar