A type selector is a CSS selector which is used to select a particular (x)html element. When a type selector is used for a CSS rule, the rule will be applied to all elements of that type. Type selectors are among the simplest selectors. They are handy for applying a rule to all elements of a specific type in the document.