Loading

Selectors

  • Selectors are used to select the HTML content that we want to style.
  • These select HTML elements according to their id, class, type, and attribute.

 Different types of selectors in CSS:

  1.  Element Selector
  2.  Id Selector
  3.  Class Selector
  4.  Universal Selector
  5.  Group Selector