What is type selector?

What is type selector?

Trainee Asked on December 16, 2017 in CSS.
Add Comment
1 Answer(s)

Type selectors match all instances of the element type in the document.

/* "p" is the type selector */
p { 
  margin: 0 0 10px 0;
}
Team Leader Answered on December 20, 2017.
Add Comment

Your Answer

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