0
What does the name element specifies here
<form> <input type="text" name="username" /><br /> <input type="password" name="password" /> </form>
4 odpowiedzi
+ 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