0

For="email" ?

On html forms part one section, New Attributes, what does for="email" do as an attribute for label?

28th Oct 2018, 1:34 AM
Ronald Marroquin
Ronald Marroquin - avatar
3 Answers
+ 1
can you post where you found the code for="email" it sounds like it is a Mozilla developers thing ~ but not supported everywhere ok I just found this https://stackoverflow.com/questions/2599627/how-to-select-label-for-email-in-css
28th Oct 2018, 1:46 AM
BroFar
BroFar - avatar
+ 1
on SL the course Html Fundamentals>Html5>Html forms part one>New Attributes, you should be able to see where I got the question of what, for="email" , means
28th Oct 2018, 1:50 AM
Ronald Marroquin
Ronald Marroquin - avatar
+ 1
ok Ronald Marroquin I found a stackoverflow related q&a hope it helps...
28th Oct 2018, 1:52 AM
BroFar
BroFar - avatar