@Detjo IDs are only *supposed* to be used once. This is mainly for javascript purposes. However, IDs will work on more than one element on a page. This is incorrect syntax, though it still works.
I have yet to find a video that explains this properly!
You just demonstrated exactly what you said you cant do; used an 'id' twice - which gave you the same result twice, as it should do coz its calling the same style -
and used a class twice - which gave you the same result twice, as it should do coz its calling the same style.
OMG, hey just want to tell you thank you so much. I have been searching all over the internet for a suitable understanding of ID and Class. This make much more sense. Thank you! Kevin from Jamaica
@Detjo IDs are only *supposed* to be used once. This is mainly for javascript purposes. However, IDs will work on more than one element on a page. This is incorrect syntax, though it still works.
PineHack 1 month ago
I have yet to find a video that explains this properly!
You just demonstrated exactly what you said you cant do; used an 'id' twice - which gave you the same result twice, as it should do coz its calling the same style -
and used a class twice - which gave you the same result twice, as it should do coz its calling the same style.
So i'm afraid i'm no wiser today :(
Detjo 2 months ago
OMG, hey just want to tell you thank you so much. I have been searching all over the internet for a suitable understanding of ID and Class. This make much more sense. Thank you! Kevin from Jamaica
Keviandra 9 months ago