0
What does the name element specifies here
<form> <input type="text" name="username" /><br /> <input type="password" name="password" /> </form>
4 Answers
+ 8
â Here "name" is not a Element it is an attributes.
âIt is used to describe what will be going in that field.
For example
type =text but what text name,lastname or place
âSo name is used to declare what will be going on
ââIt is important mainly when working with PHP
+ 4
ââIt dose not display output only for describing purpose
+ 2
The name attribute can also be used to group inputs together that are supposed to be behaving as a group (e.g. radio).
+ 1
but name =" username " is not displayed in the browser