Web Designing Question: Download Web Designer PDF

DEFINE selectors in CSS?

Tweet Share WhatsApp

Answer:

Selectors help to select an element to which you want to apply a style. For example below is a simple style called as 'intro" which applies red color to background of a HTML element.
cODE:
<style>
.intro
{
background-color:red;
}
</style>

Download Web Designer PDF Read All 59 Web Designer Questions
Previous QuestionNext Question
How to use column layout in CSS?How page structure of HTML 5 is different from HTML 4 or previous HTML?