What is CSS ?

CSS(Cascade Style Sheet) is a style language that defines layout of HTML documents. CSS can change fonts, colours, margins, lines, height, width, background images, advanced positions and many other things. Just wait and see!

HTML can be (mis-)used to add layout to websites. But CSS offers more options and is more accurate and sophisticated. CSS is supported by all browsers today.

Web Layers ?

Usually the web site consist in mainly three layers. If we consider about these layers,
1. Content Layer
2. Behavior Layer
3. Presentation Layer

Content layer stand for basic Html content of site.
Bahavior layer stand for basic Java Script code of site.
Presentation layer stand for the CSS of site.

In this tutorial we will focus only about Cascade Style Sheet

Practical CSS ?

Now we consider about practical usage of CSS. CSS technology is using in the html page.

First Example :-

1 . Apply background colours to the page

body {
background-color: white
h1, {
gray;
font-family: sans-serif;
}
h2, p {
color:
}
{
font-style: italic;
}


No posts.
No posts.