0
What is the using If the attribute I'd="" ??
I can't understand it so please help me And if you can, try to give me some exemples here
1 Resposta
+ 1
you can use #name to access the element with id="name" from CSS. it's basically the same as a class, except you're supposed to use each id only for one single element, while classes can be used infinitely.
you also need to set an id when creating foms in order to bind <label>s with <input>s.
last but not least, JavaScript functionality relies heavily on assigning unique id tags.
this is all explained in the html/css tutorials too, so you should check them out.