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