CSS Selectors
CSS selectors are HTML tags to which a CSS style is applied. This could be any tag like < p > or < h1 > etc. These are patterns used to select the HTML tags that you want to style. These patterns may range from simple element names to rich contextual patterns.
In the following sections, looking at how you can use different types of a selectors to specify which elements a style sheet rule can apply to.
Element Selector or Type Selector
The CSS element Selector or the type selector matches occurrences of those tags specified in the list.