CSS Tag Selector

Tag or Type selector enable us to define CSS for a HTML Element(tag), and all the occurrence of that HTML tags will be assigned defined CSS by default.

Syntax:

Example:

Means all the occurrence of <b> </b> element will have color = red.