Selecting elements

Hello, I am trying to learn css and cant find out about an issue i am having, (not really sure what to google to get the answer). I am just wondering what the difference is in css if i do something shown in the code below. Is the first one selecting both the navbar and anchor tags and the second selecting anchor tags in the navbar?

#navbar, a

#navbar a

https://www.w3schools.com/cssref/css_selectors.asp

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.