Wednesday, August 15, 2012

CSS Learning


In our CSS tutorial you will learn how to use CSS to control the style and layout of multiple Web pages all at once.
 given a code below..
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
body
{
background-color:#d0e4fe;
}
h1
{
color:orange;
text-align:center;
}
p
{
font-family:"Times New Roman";
font-size:20px;
}
</style>
</head>

<body>

<h1>CSS example!</h1>
<p>This is a paragraph.</p>

</body>
</html>


Output:

CSS example!

This is a paragraph.




Now type this code to your web page..

see the output..

No comments:

Post a Comment