Selector represents a structure. This structure can be used as a condition that determines which elements a selector matches in the document tree. In CSS1 and CSS2, pseudo-elements start with a colon :, just like pseudo-classes. In CSS3, pseudo-elements start with a double colon ::, which differentiates them from pseudo-classes.