Ok... So lets understand the code we made in the previous post.. <html> <head> <title>CSS Practise</title> <style> body{ font-family:"Comic Sans MS"; } h1 { text-align:center; color:blue; } h2{ color:red; } p{ color:green; } </style> </head> <body> <h1>This is a webpage all about rabbits</h1> <h2>Many people love rabbits and I love them too...Do you?</h2> <p>Rabbits are animals which have furry skin and they like to eat carrots...</p> <body> </html> Now lets see the code... body{ font-family:"Comic Sans MS"; } This part tells that we want to style the body of the webpage.... we have used font-family which is used when we want to give a nice font to our text...as you can see I have given the font family "Comic Sans MS". You can keep your own font family!!! h1 { text-align:center;...
The All New Blog - The All New Experience!