Answers

Question and Answer:

  Home  Cascading Style Sheet CSS

⟩ What Is a Group Selector in CSS?

A group selector selects multiple HTML tags. Group selectors are specified with multiple tags separated with a comma like (tag, tag, tag). For example, the following CSS definition uses a group selector:

/* set background color to gray for all instances

of three tags: <UL>, <OL>, and <DL> */

UL, OL, DL {background-color: gray}

 181 views

More Questions for you: