Selectors of CSS3

In the previous three tutorials we have explained some examples and we have already used some selectors like h1 and p.These were the elements used as selectors.We have also applied some properties and value in privous examples.In this tutorial we will discuss about more examples of selectors wiht there particular syntax.

Here is an example of selector with source code.

h1 {
  color: green;
p {
  font-size: small;
  font-family: sans-serif;


Here h1 and p are selectors.
These are html tags and in css they are used to apply the css affects.