Web Designing Question: Download Web Designer PDF
DEFINE selectors in CSS?
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>
cODE:
<style>
.intro
{
background-color:red;
}
</style>
Previous Question | Next Question |
How to use column layout in CSS? | How page structure of HTML 5 is different from HTML 4 or previous HTML? |