Pseudo class and Pseudo elements

There are pseudo class and pseudo elements in css in pseudo class we select the tag element which contain the class to beautify it.in pseudo class we first select the tag element then colon is used followed by the tag element then writing the properties to change inside the selected tag.there are different tags used along with some specifications like anchor tag :hover,active,visited etc.while pseudo elements are little bit different from pseudo class that is instead of one colon we used two colon in it.as it contain gradient and there are different types of gradient linear and radial gradient which are used beautify the html page.