Community
 
Aggiungi lista preferiti Aggiungi lista nera Invia ad un amico
------------------
Crea
Profilo
Blog
Video
Sito
Foto
Amici
   
 
 

Lesson 1

This is all done with an external stylesheet. For the header H1 the color of the font is green and it's centered. The paragraph P is written in blue with a yellow background and text-indent 1cm.

For this paragraph I have changed the background-color to pink with an inline style.

The text is STRONG and the background is blue all is done with the external stylesheet. As you can see the text is put in a paragraph that has the background yellow.

This time I have changed the font to black and bold with an inline style and this part that is written in italics has inherited the color from it's parent style, black.

Here have I grouped the selectors h4 and h5.

As you can see it is only the size of the font that changes, this is written with h5 and the line above in h4.

In this paragraph have I changed the background to white and the font-size using class. And there is an contextual selector that says that all bold text will be in red.