What is grouping in CSS?



What is grouping in CSS?..

Answer / swapna

h1,h2,h3,h4,h5,h6 {Color:green}

Class Selector: Class selector you can define different
styles for the same type of HTML element.

p.right {text-align: right} p.center {text-align: center}
Ex:Using class attribute

<p class="right">This paragraph will be right-aligned.

</p><p class="center">This paragraph will be center-aligned.
</p>

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More Design Patterns Interview Questions

What are the most popular design patterns?

0 Answers  


. How do you manage timelines?

1 Answers  


What is the executor design pattern?

0 Answers  


What is Architecture and what is design? Are they related?

3 Answers   Accenture, IBM,


What are creational design patterns?

0 Answers  


what is data access layer?

7 Answers   Honeywell,


Can we have this pattern implemented using static class?

0 Answers  


How would you improve the UX design of our product?

1 Answers  


what are design patterns..?what design patterns used in .net.

1 Answers  


What is singleton design pattern in java?

0 Answers  


If a client does not like a design what will your approach be?

4 Answers  


What according to you will be the next best thing in UI UX Design?

3 Answers  


Categories