Selectors :



Id , Class , Universal , grouping Selector ,
Id –
The id Selector uses the id attribute of on HTMl element to .select a specific element .
The id of an element is unique with in a page .
so the id selector is used to selct one unique element.
TO select an element with an specific id , write a hash (#) charactor .

class –
the class selector select Html element with a specific class attribute .
The select element with a specific class write a period (.) charater .

Universal –
The Universal selector (*) selct all HTML element on the page .
*{text-align : Center ; color ; blue } Grouping selector –
grouping selcetor select all the Html element with the same style define actions .
{ h1, p, h3, h4 { text-align : center})