pseudo element and pseudo class selectors code example Example: pseudo class css .element:nth-child(1) .element:hover .element:visited