Introduction of CSS

More options for you.


General KnowledgeEnglish GrammarMathScienceIQ-TestQuiz-Test

CSS is a simple design language that used to divide the content from the layout on web pages.

CSS-Image here

What is CSS?

CSS stands for Cascading Style Sheets.
Hakon Wium Lie was invented CSS in 1996.
After that, day by day CSS was being updated by CSSWGS.
CSS3 (released in 1998) is the latest version of those.
It allows you to style your web pages.
CSS provides powerful control over the presentation of an HTML document but it is easy to learn.

Benefits of CSS:

CSS is very powerful and allows you to do the things that you can not do with HTML.
It is supported well now in all the modern browsers.
You can save a lot of work with an external stylesheet file.
If you use Css you do not need to write code too much, less code means faster download times.
By useing Css you can maintain your web pages easily.

How does CSS work?

Mouse over the elements below to see how CSS works.

CSS?

selector {
      property:value;
      property:value;
      property:value;
      }

Example:

Let's have a look how to apply CSS style in HTML document.

HTML Editor

<!DOCTYPE html>
<html>
<head>
<title> CSS style in HTML </title>
<style>
h1{color:blue; text-decoration:underline;}
p{color:green; font-size:18px;}
</style>
</head>
<body>
<h1> This heading is underlined. </h1>
<p> The font size of this paragrph is 18px. </p>
</body>
</html>

Web Browser

This heading is underlined.

The font size of this paragrph is 18px.

More options for you.


General KnowledgeEnglish GrammarMathScienceIQ-TestQuiz-Test