Selector Basics

Selectors are used to select the HTML elements on the web page on which declarations or rules given in the declaration block or rule block will be applied. There are two types of selectors
  • Class selector, which refer to the class attribute of HTML elements. It is more generic and can refer to many elements in a web page.
  • ID attribute refer to only one HTML element in an web page and is unique in the web page. ID attribute is also used by scripting languages.

Go To- Certified CSS3 Developer Tutorial

Share this post
[social_warfare]
Selectors
Tag Selectors

Get industry recognized certification – Contact us

keyboard_arrow_up