What’s the difference between <div class="">
and <div id="">
when it comes to CSS? Is it alright to use <div id="">
?
I see different developers doing this in both ways, and since I’m self taught, I’ve never really figured it out.
What’s the difference between <div class="">
and <div id="">
when it comes to CSS? Is it alright to use <div id="">
?
I see different developers doing this in both ways, and since I’m self taught, I’ve never really figured it out.