Learn to use ID selector in CSS

Cascading style sheets is a stylesheet language used to describe the presentations of HTML or XML document. Selector is a rule that allows you to select content in the document and add styling to make it look prettier. CSS selectors select HTML elements according to its id, class, type, attribute, etc. There are different types of selectors in CSS.


This is a companion discussion topic for the original entry at http://iq.opengenus.org/id-selector-in-css/