An Introduction to CSS Selectors
When you define a style, it is made up of a couple of pieces of information; specifically the selector, the declaration block, and rules, which are a combination of a property and a value. The selector allows us to define which tag, or tags, will be affected by our style definition. There is a whole…