Friday, 1 May 2015

Cascading Stylesheets...

CSS or Cascading Stylesheets is the next language that you've to learn. It's a language used for styling the web. Through which you can add your own css codes in your headings,paragraphs or anything which will look more good and as per your code written. You can learn CSS easily and right way from W3Schools .  

<!DOCTYPE html>
<html>
<head>
<style>
body {
    background-color: #d0e4fe;
}

h1 {
    color: orange;
    text-align: center;
}

p {
    font-family: "Times New Roman";
    font-size: 20px;
}
</style>
</head>
<body>

<h1>My First CSS Example</h1>
<p>This is a paragraph.</p>

</body>
</html>

Write or copy and paste this code in notepad and save the page in .html or .htm extension 
(i.e. test.html)
 

No comments:

Post a Comment

What you think about this post..............;)