0

Why we have the same output with defferent Html forms? Is there many types of html coding system?

<form> <label>Your name:</label> <input type="text" name="username" type="text" /> </form> <form> <label>Your name:</label> <input id="user" name="username" type="text" /> </form>

5th Jan 2019, 6:53 PM
Abdulrahman Mohamed
Abdulrahman Mohamed - avatar
1 Odpowiedź
+ 1
Note that in the first one you used type='text' 2 times and in the second one only once and user is your id here. The type of an input (text,number,password,email,etc) is the one that makes the difference
5th Jan 2019, 9:26 PM
Roel
Roel - avatar