0
how do i make an html form?
Hi, I am having trouble creating a form with html. I wrote the correct code and everything, but I am not satisfied with my end result. it is only showing the Password text box, when it is supposed to show both the username AND Password boxes .Another Issue being that I can't submit any of the details that I enter.
4 Answers
+ 2
When the problem is code related, don't forget to attach your code link when you post the question.
https://www.sololearn.com/post/75089/?ref=app
+ 2
Use the <form> tag
+ 1
As a general rule if it doesn't do what it is supposed to do, it is *not* the correct code.
0
<form action="" method="post">
<label for="username">Username :</label>
<input type="text" id="username" required>
<label for="password">Password :</label>
<input type="password" id="password">
<input type="submit" value="Login">
</form>