info@tutsfinder.in




Introduction



CSS stands for Cascading Style Sheets.

CSS descbries that how your HTML pages looks like ?

CSS is used to style your HTML page that are displayed on browser. It is the presentation of the HTML page.

CSS was introduced in 1996 by the World Wide Web Consortium (W3C).


CSS Example that demonstrates how css works –
<!DOCTYPE>
<html> 
<head>
<style>  
body{
text-align:center;
}
h1{  
color:white;  
background-color:green;  
padding:10px;  
}  
p{  
color:blue;
font-size:20px;
}  
</style>  
</head> 
<body>  
<h1>Write Your First CSS Example</h1>  
<p>Hello World.</p> 
</body>  
</html>

Output

first

In above example we have used many CSS properties in internal CSS, we will go through with it in next chapter.