Hey guys, so I’m sure you can guess by the title of my post that I’m still very new to CSS. My question is, what is the difference between putting ‘div’ before ‘#example’ in your stylesheet versus putting ‘#example’. I think that if I were to give attributes to the ‘#example’ tag in my stylesheet, those attributes would coincide with ‘<div id=“example”...>’ in my HTML. If that is so, then what does putting ‘div’ before that same tag in the stylesheet refer to?
I know this question might be REAL basic but I was just trying to get some clarification.
Thanks!