
Please give simple example for understanding purpose

<html>
<head>
<style type="text/css">
p { color:red;}
</style>
</head>
<body>
<p>
This is normal paragraph text
</p>
</body>
</html>
CSS is usually used when you want to separate the webpage's content and all the formatting stuff.
To use CSS in you're webpage, you must set the style type as " text/css" within the 'head' tag.
<head> <style type="text/css"> </style> </head>
while all the CSS code should be typed within the style tag.
Now the syntax goes something like this :
element { property : value;}
In the above example, I used the 'color' property to change the font color of contents under the 'p' tag a.k.a element to red.
p { color:red;}
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.