CSS Tutorial


CSS is a language that describes the style of an HTML document.

CSS describes how the HTML elements should be displayed.

CSS Stands for Cascading Style Sheet.

This tutorial will teach you about CSS from beginners to professionals.

Basic CSS File :

Example
body
{
  color: blue;
  background-color: #9999ff;
}
p
{
  color:red;
  font-style: 25px;
  background-color: yellow;
}

HTML file using above CSS:

Example
<!DOCTYPE html>
<html>
<head>
<title> CSS Sample </title>
<link rel="stylesheet" href="https://www.robomag.xyz/style/stylesheet_example.css"/>
</title>
</head>
<body>
Hear What you Writing it would display on web page.
<p>this is paragraph.</p>
</body>
</html>
Result