How CSS Selectors work:

The basic CSS syntax pattern is:     selector {declaration}
for example:                     body {color: black;}

Selectors allow you to select tags and groups of tags on the page. Then you modify the selected tags using your written CSS rules.

Selectors merit consideration because there are various logical and hierarchical schemes that they allow you to use to select tags on your pages.


The most useful and well-supported selectors are ones that...

These can sometimes also be useful:



Selectors not generally on our priority list:




For more info, you could refer to ************* TBA ****************.