0

the id attribute what is it ??

25th Sep 2016, 1:29 AM
Andres Paucar
Andres Paucar - avatar
4 Respostas
0
Unique identity for the class.
25th Sep 2016, 1:35 AM
MANOJ PUN
MANOJ PUN - avatar
0
Thank you
25th Sep 2016, 1:41 AM
Andres Paucar
Andres Paucar - avatar
0
ID used for to provide a unique identity to any element. It can be used to provide unique style using CSS or can be used in javascript or any other script you use for functionality to access that particular element. Class is completely different than ID. Usually Class is used to apply same styling or access number of elements together. It is kind of imposing that those are the elements you would like to put in some sort of same group.
26th Sep 2016, 12:32 AM
Hiren
0
brother Andreas class is reuseable. it can be used again but id can't be used again and again
26th Sep 2016, 3:27 AM
Ahmed Kamal
Ahmed Kamal - avatar