A type selector specifies the element name and the styles to apply to that element. This results in applying the specified styles to all occurrences of that element on a Web page. Here, the styles are defined only once for an HTML element and are applied to all occurrences of that element…