Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
719 B
1
Indexable
Never
Exp 3. Selectors, Properties and Values:
Selectors:
CSS selectors are used to select the content you want to style. Selectors are the part of CSS rule set.
CSS selectors select HTML elements according to its id, class, type, attribute etc.
There are several different types of selectors in CSS.
1. CSS Element Selector
2. CSS Id Selector
3. CSS Class Selector
4. CSS Universal Selector
5. CSS Group Selector
Selector: Selector indicates the HTML element you want to style. It could be any tag like <h1>,
<title> etc.
Property: A Property is a type of attribute of HTML element. It could be color, border etc.
Value: Values are assigned to CSS properties. In the above example, value "yellow" is assigned to
Leave a Comment