HTML Developer Question: Download HTML Developer PDF

Tell me can several selectors with class names be grouped together?

Tweet Share WhatsApp

Answer:

You can define several selectors with the same style definition by separating them with commas. This same technique also works for selectors with class names.

Download HTML Developer PDF Read All 75 HTML Developer Questions
Previous QuestionNext Question
Tell me what is the relationship between the border and rule attributes?Tell me what happens if the number of values in the rows or cols attribute doesn’t add up to 100 percent?