It's all about Web Designing!

Breaking

Saturday 27 May 2017

Introduction to CSS




Introduction to CSS
It is a language which tells us about the style of the HTML document and how HTML element should be displayed.
·         CSS full form is Cascading Style Sheets
·         Control the layout of multiple pages
·         CSS was created to describe the content of web pages





Example:
<!DOCTYPE html>
<html>
<head>
<style>
body {
    background-color: blue;
}

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

p {
    font-family: verdana;
    font-size: 30px;
}
</style>
</head>
<body>

<h1>Introduction to CSS</h1>
<p>My first CSS Example </p>

</body>
</html>

No comments:

Post a Comment

Adbox