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 is meant by design pattern?

0 Answers  


Did you use ooa/ood methodologies? Did you use design patterns?

0 Answers  


i have file(ps),dont know how many records are there. move half of the records to 2 files. how can we do

1 Answers   IBM, Infosys,


What is the behavioral design pattern?

0 Answers  


how many types of cookies in php

1 Answers  






Quartus II software version 6.0 is available for which operating systems (OS)?

0 Answers  


How do you choose a design pattern?

0 Answers  


What are the design patterns you know explain?

0 Answers  


How can we design/implement singleton object?

3 Answers   HP,


What is the S/W model used in the project. What are the optimization techniques used. Give examples ?

2 Answers   Infosys, Symphony, Wipro,


Identify three types of systems or system upgrades that may be ideal candidates for a Waterfall Development Model strategy.

1 Answers  


What is the use of design patterns?

0 Answers  


Categories