What is type selector?

What is type selector?

Senior Developer Asked on June 3, 2018 in CSS.
Add Comment
1 Answer(s)

The CSS type selector matches elements by tag name.A CSS selector is the part of a CSS rule set.

To update design all paragraphs on the page, we can use a type selector:

p {
  color: #000;
  font-size: 12px;
}
Default Answered on December 1, 2018.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.